Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-298

Element name in jaxrpc-mapping not honoured

XMLWordPrintable

      $ ant -Dtest=org.jboss.test.webservice.jbws83.JBWS83TestCase one-test

      For a mapping like this

      <variable-mapping>
      <java-variable-name>msg</java-variable-name>
      <xml-element-name>my-msg</xml-element-name>
      </variable-mapping>

      2005-06-23 11:56:16,168 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialize: [xmlName=UserType_1,xmlType=

      {http://org.jboss.test.webservice/jbws83/types}

      UserType]
      2005-06-23 11:56:16,208 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: <UserType_1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><msg>Kermit</msg></UserType_1>

      java.lang.IllegalArgumentException: javax.xml.soap.SOAPException: Cannot find <my-msg>Kermit</my-msg> in SOAPMessage
      at org.jboss.test.webservice.jbws83.ClientHandler.handleRequest(ClientHandler.java:30)

              olubyans@redhat.com Alexey Loubyansky
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: