You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by mahu2425 <ma...@lycos.de> on 2006/04/27 16:48:41 UTC
Web Service: data types missing
Hi there,
I worte a small EJB-based web service and deployed it on Geronimo. After extending the functionality of my web service (EJB side) I found out, that the data types of the SOAP response are no longer transmitted.
Let's say in an older version of my EJB the web service response contained the follow line:
<name xsi:type="xsd:string">Peter</name>
No it just says:
<name>Peter</name>
Why are the types all data now missing? My WSDL file still says:
<element name="name" type="string" nillable="true"/>
and also all other files like jaxrpc-mapping should be correct. (All generated by wscompile).
Has anybody an idea how to get the data types back?
Thanks is advance,
Markus
Stelle Deine Fragen bei Lycos iQ - http://iq.lycos.de/qa/ask/
Re: Web Service: data types missing
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
First of all, I haven't seen this problem before, so I can't help you
change the response format.
However, I have to ask, is it really necessary? Why would you need
the data types in the response, when the elements in the response
should be fully described by the schema in the WSDL?
Thanks,
Aaron
On 4/27/06, mahu2425 <ma...@lycos.de> wrote:
> Hi there,
>
> I worte a small EJB-based web service and deployed it on Geronimo. After extending the functionality of my web service (EJB side) I found out, that the data types of the SOAP response are no longer transmitted.
>
> Let's say in an older version of my EJB the web service response contained the follow line:
> <name xsi:type="xsd:string">Peter</name>
>
> No it just says:
> <name>Peter</name>
>
>
> Why are the types all data now missing? My WSDL file still says:
>
> <element name="name" type="string" nillable="true"/>
>
> and also all other files like jaxrpc-mapping should be correct. (All generated by wscompile).
>
> Has anybody an idea how to get the data types back?
>
>
> Thanks is advance,
>
> Markus
>
> Stelle Deine Fragen bei Lycos iQ - http://iq.lycos.de/qa/ask/
>