cancel
Showing results for 
Search instead for 
Did you mean: 

How generate a Stub from the WSDL???

Former Member
0 Kudos

Hi,

how is it possible to generate a stub of a WSDL file which was provided by an external program (Client Application)? The client Application sends its own class types as parameter to my web Service. So i have to use this classes also in my Web Service.

Regards,

Sharam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

read this first: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/81/12703e5da3e946e10000000a114084/content.htm">Consuming a Web Service</a>

Former Member
0 Kudos

Hi Denis,

thank you for your reply. I just read the help before.

I have create a proxy by using the wsdl file of the external Application in order to get the stub. In my Proxy i have now the needed classes like: SObject, Notification etc. In the next step i insert the API of my Proxy into the EJB Project. Now i can use the needed classes in my EJB-Method as parameter like:


public void myEJB_Method( SObject  param1, Notification param2 ){
}

In the next step i try to create a Web Service for the above Method. I try it by the context menu of my EJB->new->Web Services. In the wizard i can not choose the suggested method myEJB_Method(..). Because of the message:

<com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedBase implements

interface com.sap.engine.services.webservices.jaxrpc.encoding.SerializerBase as

well as interface.>

Any help would be greatly appreciated.

regards,

Sharam