Home > database >  PB10.5 invoke the webservice problem (JAVA development of WS)
PB10.5 invoke the webservice problem (JAVA development of WS)

Time:09-25

PB10.5 invoke the webservice problem (JAVA development of WS)

PB10.5 WS and invokes the JAVA development. What is the difference between NET development of WS?

I call the.net WS returns success, call JAVA development of WS return is not successful,

Tried two examples are prompt error:

Note: 1, call interface service interface failure (always invoke a Web service)
Unexpected return code: 404/axis/hello.html JWS

2, call interface service interface failure (always invoke a Web service)
Always invoke a Web service

Isn't me configuration problem, PB10.5 WS and invokes the JAVA development. What is the difference between NET development of WS?

CodePudding user response:

The code is as follows:

//test call
String securityURL
Int rc
String ls_aaa

The soapconnection conn
Hellohello obj1

Try
Conn=create the soapconnection
Rc=conn. Createinstance (obj1, "hellohello")
Ls_aaa=obj1. Getname (" aaabbb ")
Messagebox (" ", ls_aaa)
The catch (soapexception e)
String ls_s
Ls_s=um participant etmessage ()
Ls_s="call interface service interface failure (always invoke a Web service) ~ r ~ n" + um participant etMessage ()
The catch (pbxruntimeerror e22)
Ls_s="call interface service interface failure (There is a runtime error when invoking a Web service) ~ r ~ n" + e22. GetMessage ()
The catch (runtimeerror e33)
Ls_s="call interface service interface failure (There is an unknown error when invoking a Web service) ~ r ~ n" + e33. GetMessage ()
End the try
Messagebox (" ", ls_s)
Destroy the conn

CodePudding user response:

Never write, help the top 1

CodePudding user response:

No PB some B/S, top!!!!!!

CodePudding user response:

I also encountered the same problem, at a loss... To solve the
  • Related