Skip to Content
0
Former Member
Jul 15, 2008 at 03:34 PM

Adaptive Web Service won't work

90 Views

Hi,

i'm currently developing an application using web dynpro JAVA and having some Problems with including a webservice. The Webservice takes a ID as argument and returns a detailed record with the Sales corresponding to this id. I'm using SAP NetWeaver 7.1 EhP 1 SP00 PAT0000.

I performed the following steps:

1. Imported the Model through a wsdl-File

2. Created a Logical Destination for this Webservice on my AS

3. I used the "Service Controller" - Template to generate the Context Bindings and the method for invoking the webservice.

4. I created a simple Form for entering the ID and a button whos actionmethod invokes the webservice.

5. Then when i'm deploying the project everything works fine until i click on the button and invoke the webservice. Following error is displayed.

Exception on execution of web service on destination SalesOrder_EXEC for operation SalesOrderByIDQueryResponseIn in interface {http://sap.com/xi/NWDemo}SalesOrderByIDQueryResponseIn

It would be really nice if someone has a solution or at least some ideas.

Greets

Carl Heckmann