tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Millies, Sebastian" <Sebastian.Mill...@softwareag.com>
Subject Re: Wrong result type in web service operation
Date Wed, 23 Nov 2011 10:02:48 GMT
>I took your WSDL and was able to successfully invoke a doc-lit "bare" WS with
>it..with qualified payload and soapAction="".
>I'm thinking you're missing something (or possibly using a different SCDL
>variant?) but can't guess what.
>Would you be able to post enough of your application that I could take a look
>and give it a try (I shouldn't actually need the back-end SAP web service to
>see the request payload which gets formed).

Thank you for looking. I enclose a zipped Eclipse project. Just start
the component by running server.Launcher, then run test.TestCostcenterService.
That unit test functions as a Java RMI client of the server component.

Note: There is code both for calling the web service directly, and for the
serializing/deserializing stuff from the discussion on dynamic service

If you're using the Eclipse directly, you'll need to define the user library
TUSCANY with the Tuscany 1.6 jars.

The results of using wsimport are in package bapi.types, plus the interface.
bapi.costcentergetlist.ZWSBAPICOSTCENTERGETLIST. They have been slightly modified
to work with Tuscany (implementing Serializable, adding @Remotable).

Here's my wsimport command line (Eclipse external tools config)
${env_var:JAVA_HOME}\bin\wsimport.exe -d ${project_loc} -p ${string_prompt:Package} -keep
-target 2.1 -verbose -Xnocompile file:///${file_prompt:the WSDL file to import:${project_loc}\wsdl\zws_bapi_costcenter_getlist.wsdl}

I'm using jdk1.6.0_29.

-- Sebastian

IDS Scheer Consulting GmbH
Geschäftsführer/Managing Directors: Kamyar Niroumand, Ivo Totev
Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial
register: Saarbrücken HRB 19681

View raw message