cancel
Showing results for 
Search instead for 
Did you mean: 

Sun WTK, J2ME on blackberry connnecting to ECC web enabled RFC

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Richard,

I'm having the same issue and I looked in SOAMANAGER but could not find the option to change ("policy" to "standard"). Could you please provide more details as to what needs to be changed?

Thanks.

Carlos