Skip to Content

Client Web Service...

Hi everyone,

I developed a Portal Service and create a web service for it using the plugins in Eclipse.

For the client :

I created a proxy deployable project.

I created a servlet client that calls the proxy.

I call a method developed in my service and got an RMI exception at run time.

Maybe, I should create a virtual interface for it ?

I understood that if you create a web service for a java class or an EJB, there is automatically a virtual interface created for you.

Is it related...

Thanks for the help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 13, 2005 at 09:25 AM

    Hi David,

    Let me resume your scenario:

    1- You create a Portal Service and create a WS from it (producer side).

    2- You try to create a client using deployable proxy.

    But get a exception. Is it possible to have the type of the exception/details?

    You do not need to cretae the VI, this is automatically created when create WS.

    Best Regards,

    Frederic

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Frederic,

      I want to make a precision : we do not have the possibility to create the wsdl file with se37 or se80. So, I am trying to create the wsdl file with netweaver04.

      Here are the steps :

      Service provider :

      1) create a portal component project.

      2) create the proxy project for the BAPI using the "SAP Enterprise Connector" plugin.

      3) create a portal service.

      4) in the service class, initialize an instance of the BAPI.

      Client service consumer :

      5) create a web service from the portal service.

      6) create a portal component client (ie: a Dynpage).

      I hope I made myself more clear...sorry if I didn't before.

      If everything is OK, can I create a client that is not a portal component.

      I create a simple service for the example....a HelloWorld that return a String.

      I get an exception when I run the Dynpage client.

      Here is the exception.

      "

      com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].."

      I added "<property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>"

      Do you have an idea ?

      Thanks a lot Frederic!

      Message was edited by: David Fryda

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.