Skip to Content
author's profile photo Former Member
Former Member

WSDL problem with web dynpro dc

Hello all,

I have wrestled with nasty wsdl problem for couple of days: I have a third party wsdl-file which I want to use to generate client for the web service.

Now I have tried three different approaches:

1) generate model from the wsdl in the Web Dynpro DC project I want to use the web service.

2) Use web service client that is generated for the WLS applications

3) create a DC deployable proxy and use it on the Gui DC

All of these approaches seem to fail because of the deployment or WSDL generation error.

On the first case I can't generate the proxy because I get generation error on the WSDL (I'm using adaptative web service model and local filesystem wsdl).

The second case fails because I just can't deploy the needed 3rd party jar's to the portal using Web Dynpro DC's (why this has to be so difficult? SAP please see how it's done in standard J2EE applications)

Third case is variation of the second. I can create the proxy and build my user interface DC with the WS proxy DC, but no matter what I try I run to the situation where I get java.lang.NoClassDefFoundError for the proxy class I want to use. So it seems that I can't deploy the needed proxy DC.

I would appreciate help on any of these cases.

For the background information I am using NWDS Version: 7.0.09, build id: 200608262203

BR, Janne

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 11:59 AM

    Hi,

    for soap messages there are two types of styles 'rpc' and 'document'. google it to find out the difference. ABAP WAS to my knowledge interstingly supports the exposion of services both in RPC and document style but only supports creation of proxies for document style WSDLs.

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:50 AM

    HI Janne,

    I may not have complete answer to your questions since you have not given any specific error or wsdl file.

    But third party libraries can be deployed using 'External library' DC and this can be used in WD DC by declaring public parts.

    ( i wonder why do you need third party libraries for calling a webservice )

    Hope it helps

    Regards,

    Arul

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Janne,

      External lib DC may not be deployed on its own. You can create a deploy time dependency when u create "used dc" relationship from webdynpro DC . This way it will both deploy the external library DC and your webdynpro.

      Regards,

      Arul

      PS: reward points if its useful

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.