This has been assigned to
http://jira.jboss.org/jira/browse/JBWS-349
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888576#3888576
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888576
I'm not the original author, but I'm having the same problem:
In responses generated by JBoss hosted web services, the returned document does
not properly identify the derived type with an xsi:type attribute when the
service is defined to return an instance of the super type.
Thomas, I've check
You can use the 'code' marker
|text
|
Please paste, your wsdl again and the other relevant parts again.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882170#3882170
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
These are from the jaxrpc-mapping.xml file, both types appear to be mapped
correctly. By the way, how do I make the forum display XML correctly?
< java-xml-type-mapping>
< java-type>com.uecommerce.telacct.ws.AgentPaymentSchemeOptions< /java-type>
< root-type-qname
xmlns:typeNS="http://www.uecom
The WSDL defines the return type as `AgentOptions', which is defined:
< complexType name="AgentOptions">
< sequence>
< element name="agentId" type="xsd:int"/>
< element name="apso" nillable="true"
type="impl:AgentPaymentSchemeOptions"/>
< element name="defaultTariff" type="x
The contract is defined by wsdl and schema, not by java. The way you should
examine this, is:
1) look at the wsdl to see what schema type is used for the return
2) look at jaxrpc-mapping to see waht java type this maps to
If that is the base type, then only the SOAP representation of the base ty
The forum software messed up the tags, here is the example again:
http://www.uecommerce.com/telacct";>
< getAgentOptionsReturn>
< agentId>10223< /agentId>
< apso >
< null xsi:nil="1"/>
< callBackPw>x< /callBackPw>
< instId>12345< /instId>
Vie