[jboss-user] [JBossWS] - Identical <message element > in wsdl causes major headache!
ppt
do-not-reply at jboss.com
Fri Jan 25 17:05:29 EST 2008
I have a WSDL that looks like this:
<xs:schema>
<xs:import namespace="J2EE_PH2" schemaLocation="J2EE_PH2.xsd"/>
</xs:schema>
<part name="body" element="s1:J2EETransaction"/>
<part name="body" element="s1:J2EETransaction"/>
.....
The problem is I want to convert my wsdl to java skeleton using Jax WS wsconsume. I cannot do so because "J2EETransaction" in <message element> is not unique. I'm constrained in using identical name, J2EETransaction because my xsd only have one parent element:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="J2EETransaction">
<xs:complexType>
<xs:sequence>
<xs:element name="Header" type="ns1:HeaderType"/>
<xs:choice>
<xs:element name="LocSearchReq" type="ns1:PLocSearchRequestType"/> <xs:element name="SingleLocResp" type="ns1:SingleLocResponseType"/>
....
Is there any way to reference a child element like:
or some other way?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123678#4123678
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123678
More information about the jboss-user
mailing list