Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Event ID: 5743
- This topic has 7 replies, 1 voice, and was last updated 7 years, 8 months ago by community-content.
-
AuthorPosts
-
-
October 25, 2008 at 7:56 PM #21050
HI,
i’m tryin to communicate with a webservice whose webmethod takes a schema as parameter. The schema name is Order and the object of the schema is POrder.
I have a local port and a web port inside a parallel action shape. When the input file (xml file) passes the recieve port, local port receives the result file but on the web port, it gives me the following error.
The adapter failed to transmit message going to send port “POrchestrations_1.0.0.0_POrchestrations.POINV_Port_5” with URL “http://localhost/xyz.asmx”. It will be retransmitted after the retry interval specified for this Send Port. Details:”Failed to serialize the message part “POrder” into the type “Order” using namespace “http://PSchema.Order”. Please ensure that the message part stream is created properly. “.
An Immediate response would be really appreciated.
Thank u,
Raj.
-
October 26, 2008 at 7:51 AM #21052
That error usually means that the message you are trying to send through the web port is not valid against the schema. How are you constructing the web message? What is the significance of the parallel shape? The way to debug a serialization error is to validate the web message XML against its schema.
-
October 26, 2008 at 6:35 PM #21053
Thanks for a quick reply.
There is an xml file and it is validated against an internal schema. That internal schema is then mapped to the schema of the webservice. The parallel shape sends a kind of confirmation that the xml file is validated against the internal schema.
-
October 26, 2008 at 6:56 PM #21054
Have you validated the mapped web message XML? To do this validation you can use the Test Map command in Visual Studio. Just make sure that Enable Output Validation is selected in the map properties.
-
October 26, 2008 at 8:20 PM #21055
yes, I did and there were no problems.
I tried another way to check if the WS schema was alright.
Lets say i have
1) an XML file “OrderFile.xml”
2)Internal schema “PurchaseOrder.xsd”
3)WS Schema “Order.xsd”
4)an object of WS Schema “POrder”.
OrderFile.xml is picked up and validated against PurchaseOrder.xsd, which in turn is mapped to Order.xsd.
Now, if I use an internal port to save the resultant file validated against Order.xsd, everything is fine. The results are exactly what I need. But if I use the webport, it gives the error, that “POrder” (which an object of Order.xsd passed as a parameter to a webmethod), could no be serialised into the type “Order”, using namespace “http://PSchema.NewOrder“.
-
October 26, 2008 at 9:27 PM #21058
hi Russel,
The problem is solved. Actually, everytime I validate the xml file, i was always missing one attribute. I don’t know how but my eyes missed it completely. It was now that it checked the file and schema, element to element and found a Case Level mistake. In the file it was ***Id and in the schema it was ***ID.
Anyways the problem is solved.
Thanks For your time and help.
-
May 6, 2013 at 11:59 PM #26048
The adapter failed to transmit message going to send port "POrchestrations_1.0.0.0_POrchestrations.POINV_Port_5" with URL "http://localhost/xyz.asmx". It will be retransmitted after the retry interval specified for this Send Port.Details:"Transmission failed for message "032277bf-9be2-4c90-aaad-b51b4c776e1":Error sending email message:System error:server certificate verification failed.Connection aborted,".
Can anyone help in this
-
May 6, 2013 at 11:59 PM #26049
Its Urgent
-
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.