XFire
  1. XFire
  2. XFIRE-1153

problem with parameter namespace ; xfire client generated from a cxf server wsdl

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Hello all!

      first, sorry for my bad english...

      I need to dialog with a CXF/OpenEJB web service from a XFire wsdl generated client.

      People managing the server tell me all the parameter are null. The reason I have found is the soap adds "ns1:" prefix to the parameter names :

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soap:Body>
      <ns1:verification xmlns:ns1="myNamespace">
      <ns1:systemIdent>SYSID</ns1:systemIdent>
      <ns1:sessionToken>1231445569844</ns1:sessionToken>
      </ns1:verification >
      </soap:Body>
      </soap:Envelope>

      when I send the same soap with soapUI without "ns1:" before the parameter names, it works!!!

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soap:Body>
      <ns1:verification xmlns:ns1="myNamespace">
      <systemIdent>SYSID</systemIdent>
      <sessionToken>1231445569844</sessionToken>
      </ns1:verification >
      </soap:Body>
      </soap:Envelope>

      I have already added UNQUALIFIED to package-info.java but it is the same result

      @javax.xml.bind.annotation.XmlSchema(namespace = "myNamespace", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED)

      Does anyone know what I should check and/or change in either in the web service interface class and/or its implementation?

      thank you... really...

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            Christian Htiman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: