on 07-15-2008 4:34 PM
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
Hi Carl,
After importing the model in Web Dynpro and generating the context binding with service controller you have to initialize the request part (request node and all subnodes in the request node) of the model in the wdDoinit method of the component controller. After this you can perform step 4 and deploy your application.
Please check the following links for detailed information.
Regards,
Yasar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.