添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi All,

When we try to send the data to client by consuming the soap webservice , we are facing the soap fault.

interface execution is fails by throwing soap error & sometime it executed successfully.

Please suggest the solution for the soap fault .

we are using SAG webMethods v10.1

@nikil This is parsing issue , kindly validate your soap request which you are sending

com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected . at [row,col {unknown-source}]: [11,107]

- Your request does have close tag which is expected to pair with ------
- Your request does not have have open tag at required place

please check how you are building up your request.

Hopefully, you have created a consumer WS descriptor by importing the WSDL from the provider service.

Regards,
Holger

As @Holger_von_Thomsen notes, how are you creating the SOAP request? Depending upon that, an item to check:if creating the XML with pub.xml:documentToXMLString is to always set encode to true. The default is false. This can lead to XML markup characters appearing in the data that can cause parsing to fail. Markup characters that appear in the element data, typically & and <, must be escaped. (You don’t need to do this yourself – the services within IS will do so, assuming you use the right inputs.)

This is just a guess at what might be wrong. But given the statement that is sometimes works and sometimes fails seems to indicate a data-driven issue.