I have same kind of issue. below is the Input receiving from a merchant.
<?xml version="1.0" encoding="utf-8" ?>
<Advice_of_Order sender_id=“A24” receiver_id=“006026793” xg_batch_id=“B254823” file_creation_date=“2006-10-03” test_indicator=“P” transtype=“AOO”><Order_Header merchant_id=“A24” order_number=“254823”
order_date=“2006-10-03” transaction_type=“N” customer_number=“” ship_to_name=“Kimberly Anne Coles” ship_to_address1=“27 Orchard St.” ship_to_address2=“” ship_to_city=“Cortland” ship_to_state=“NY”
ship_to_zipcode=“13045” ship_to_country=“USA” shipping_handling=“0.00” sales_tax=“0.00” line_item_total_amt=“0.00” order_total_amt=“0.00” merchant_msg_line1=“Hey baby, I don’t know if this was what
you want. My phone broke and I had it in” merchant_msg_line2=" a text message. I hope you like it and I can’t wait to see you. I love you." merchant_msg_line3=“Syracuse University Bookstore
303 University Place " merchant_msg_line4=“Syracuse NY13244(315)443-1668 " carrier=“GUPS” delivery_method=“GR” order_discount=“0.00” total_nbr_lines=“1”>
<Order_Detail line_number=“1” sku_number=“11605” sku_description=“Tote” unit_measure=“EA” order_qty=“1” list_price=“0.00” extended_price=“0.00” line_comment=”” /></Order_Header></Advice_of_Order>
Steps following:
1:pub.string:bytesToString
2:pub.xml.xmlStringToXMLNode
Encoding: UTF-8
expand DTD: true
is XML: autodetect
3:pub.schema:validate
confirms To: schema path
max errors: -1
at this step we are getting Validation error. It is due to speacial character- “Hey baby, I don’t know …”.
Please lets us know the steps to be followed…
Thanks&Regards
Kartheek
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB