on 09-21-2010 1:56 AM
I have created a web enabled function module and I am able to connect to the service via the browser and it brings up the WSDL after entering username and password.
I then went to the Sun WTK to generate stub classes to access the webservice from the blackberry. This is where the trouble comes into paradise...
when I use the stub generator in WTK using the WSDL file downloaded locally I get -
error: modeler error: unknown required extensibility element "wsp:UsingPolicy" (in namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
when I try to point the WTK directly at the service I get
error: modeler error: failed to parse document at "http://server:8000/sap/bc/srt/wsdl/sdef_ZSURGERYLIST/wsdl11/ws_policy/document?sap-client=100": java.io.IOException: Server returned HTTP response code: 401 for URL: http://server:8000/sap/bc/srt/wsdl/sdef_ZSURGERYLIST/
This looks like an auth problem but Im not really sure ..
Im using -
1. WTK 2.5.2_01
2. ECC 6 - EHP4
Im wanting to develop the java proxy classes so I can consume the web service from blackberry or J2ME in general...
Any help on would be greatly appreciated.
For those who come across this thread, changing the web service to standard instead of using policy in the SOAMANAGER will allow you to generate stub classes for J2ME using the WTK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.