0

从 WSDL 生成客户端代码后,一切正常。但是在信封之后我做了一个系统输出并且身体元素有

<http: / www.siebel.com /xml / ContactInfo>xyz</http://www.siebel.com/xml/ContactInfo>
<http: /www.siebel.com /xml / ContactInfo>John</http://www.siebel.com/xml/ContactInfo>
<http:/www.siebel.com /xml / ContactInfo>Smith</http://www.siebel.com/xml/ContactInfo>

而不是这样的东西

<sov:Contact>
               <sov:PersonUId>xyz</sov:PersonUId>

               <sov:FirstName>John</sov:FirstName>
               <sov:LastName>Smith</sov:LastName>
</sov:contact>

我应该添加任何代码<sov:contact>而不是<http: / www.siebel.com /xm....

4

1 回答 1

0

This is likely caused by AXIOM-421. The issue occurs with certain Axiom versions in combination with certain StAX implementations.

The solution is either to upgrade to a newer Axiom version or to add Woodstox to your application so that it is used instead of Weblogic's StAX implementation.

于 2013-07-22T17:45:56.993 回答