0 Replies Latest reply on Jan 25, 2008 5:05 PM by Paul Park

    Identical <message element > in wsdl causes major headache!

    Paul Park Newbie

      I have a WSDL that looks like this:

      <xs:import namespace="J2EE_PH2" schemaLocation="J2EE_PH2.xsd"/>

      <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:element name="Header" type="ns1:HeaderType"/>
      <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?