BizTalk Server Orchestration - There is an error in XML document (1, 40)

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > February 2006 > There is an error in XML document (1, 40)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author There is an error in XML document (1, 40)
Derk Schutte

2006-02-07, 5:59 pm

Hi all,

Im getting an error when i try to send a message to a webservice. This is
the message

The "SOAP" adapter is suspending an outbound message going to destination
URL:"http://10.241.13.68/reis.si.behandelstraat/si/behandelstraat/beveiligingservice.asmx". Details:"There is an error in XML document (1, 40).".

Position 40 is directly behind the xml header.

The part of the wsdl i am using that is responsible for this is this :
- <s:element name="GetReisAutorisaties">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="getReisAutorisatiesMessage"
type="tns:Messages.BeveiligingMessages.Requests.GetReisAutorisatiesRequest"
/>
</s:sequence>
</s:complexType>
</s:element>

when i change the type
"Messages.BeveiligingMessages.Requests.GetReisAutorisatiesRequest" to another
(shorter? without dots?) term, it works fine. The reason for the long
typename is the way it is declared in the .NET webservice i am calling. Of
course i can hack te wsdl en get it right that way, but we'd have to do that
everytime the webservice is updated. Can anyone help me with this?

regards
derk schutte


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com