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

Web services Deployable Proxy Project

Hi,

Ive got a wsdl file generated out of a web service i created.

Now Im trying toconsume the same.

As mentioned at http://help.sap.com/saphelp_nw04s/helpdata/en/fe/0cb6f543994cd08bbbc6e0f22023e0/frameset.htm

I need to create a Deployable Proxy project.

When I imported the wsdl file (which I got by opening wsnavigator and saving as a wsdl file) into NWDS, I get some errors in the interfaces generated.

javax.xml.rpc cannot be resolved or is not a valid superinterface
javax.xml.rpc cannot be resolved (or is not an exception type) for the method getLogicalPort
com.sap.engine cannot be resolved (or is not a valid return type) for the method getLogicalPortConfiguration

Am I missing out on any JAR file here. Or have I not carried out the steps corretcly?

Prem...

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 08:31 AM

    Hi Prem,

    To create a deployable proxy project,

    Choose deployable proxy under web services and create a new deployable proxy project.

    1.After creating the project right click on the project and choose new> client proxy generation.

    2.Select the proxy name and packages, and choose a wsdl from local file system or give a web address. Netweaver Developer Studio then creates interfaces for reaching the web service over the server. Thus a proxy is created with one default port pointing to the web service we previously generated.

    3. Right clicking on the project, choosing development component > build, then deploying it the same way creates proxy on the server.

    For testing the web service proxy, create a web module DC, and call the proxy from a client (e.g. a servlet).

    Regards,

    Anagha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Anagha,

      Thanks for your reply, but I has already done these things.

      I was getting the incorrect class error after that.

      Anyways I just found the solution.

      Add webservice_lib.jar from here

      C:\usr\sap\SID\JCXX\j2ee\cluster\server0\bin\ext\webservices_lib.

      And download jaxrpc-ri.jar and jaxrpc-api.jar from the Sun websites.

      Add them jars to your classpath.

      Thanks

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.