This is a discussion on WebService Access SOAP and BEAN Object - Clipper ; Hello, I have a problem to deal with a WebService. This is my first try and havenīt much found in the NG for this problem. Iīd try with: LOCAL oSoap AS OBJECT LOCAL cWSDLPath AS STRING LOCAL x oSoap := ...
Hello,
I have a problem to deal with a WebService. This is my first try and
havenīt much found in the NG for this problem.
Iīd try with:
LOCAL oSoap AS OBJECT
LOCAL cWSDLPath AS STRING
LOCAL x
oSoap := OLEAutoObject{"MSSOAP.SoapClient30"}
cWSDLPath := "https://USER:PASSWORD@www.xxxxx.de/xxx/services/EventWs?
wsdl"
IF oSoap:fInit
oSoap:mssoapinit(cWSDLPath,NIL,NIL,NIL)
x := oSoap:SendEvent( a Bean Object ) //Returns a Error/Status
Bean!
//InfoBox{,"OK",AsString(x)}:show()
ELSE
ErrorBox{,"Error"}:show()
ENDIF
And now my questions/problems:
How can i create a Bean Object (complex type) and Stub? (what is a
Stub?) I found that Bean Object is a Datacontainer from Java. Not much
Doku in German found.
And, how can I send in the SendEvent a ,,HTTP-BASIC-AUTHENTIFICATION",
or is the Call in the cWSDLPath OK?
I hope someone can help me
and understand my english.
Kind regards, Frank