cancel
Showing results for 
Search instead for 
Did you mean: 

error in HTTP to file scenario

Former Member
0 Kudos

Hey guys

we have a HTTP to file scenario in which our client has to send the Invoices over HTTP in XML format,when we test the scenario from within our landscape we are getting the output file correctly but when we test from the client site,we get an error message saying that the file has missing semi colon (,the URL which we are getting from the local HTTP client is something like this

http://scosap005.sap.com:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invo...

and the one which we are getting from the client is

http://xx.xxx.xx.xx:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_s...

why am i getting this error?

thanx

ahmad

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189558
Contributor
0 Kudos

Hello Ahmad ..

That the xml reaches XI is surprising me as I was thinking that your client could not resolve the host name as XXXX.. are coming....

May be u can maintain the ip for your host in the host file of your client.

Former Member
0 Kudos

Hey

i m not getting XXXX... in the IP,its actually company's private IP address so i didnt write it down.my problem is the XML structure i m getting.

why am i getting

namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&

before <?xml version="1.0" encoding="UTF-8"?>

thanx

ahmad

former_member189558
Contributor
0 Kudos

Check your Client HTTP application.

got to do something over there,.. as it will form the URL... and make a HTTP call...

Former Member
0 Kudos

Hey guys

i m having a very strange problem with my scenario,we are doing a HTTP to file scenario,now as both the sender and receiver have same structure i havent done any mapping,client is sending XML over HTTP from another location which is not in our landscape,he is using web methods Business connector .when he send us the XML message to our XI server some stuffs are added at the top of the payload,its something like this

namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&

these are actually the parameters which are used in the URL to send the XML to us.but because of this i m unable to process the XML .

so my XML looks something like this

namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&

<?xml version="1.0" encoding="UTF-8"?>

<Invoice transactionPurposeIndicator="Original">

<InvoiceProperties>

<InvoiceNumber>0094372098</InvoiceNumber>

<InvoiceDate>20070319</InvoiceDate>

<VendorNumber>VENDOR #</VendorNumber>

but when i try this scenario from within our landscape it works fine and nothing is added on top of XML.

they are sayin that nothin extra is being added from thr side and their XML does not have the extra addition on top.

how should i solve dis problem?

its urgent

thanx

ahmad

Former Member
0 Kudos

Hi,

Can yu plz give the exact error..

See the below links

http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm

http://help.sap.com/saphelp_nw04s/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Regards

Chilla

Former Member
0 Kudos

Hi Ahmad, may be the data that the client is sendig has some special characters like ";" or """ Can you check the data that the client system is sending?

Regards

Omar Hernandez

Former Member
0 Kudos

Hey

the data client is sending has no ";" or any other special character,i think the XML i m getting has to be treated in a different manner,i dont know why i m getting those additional lines before <?xml version="1.0" .........>

thanx

ahmad

Former Member
0 Kudos

Ahmad,

I think it might be problem in your receiver end. But not from the sender. Do you see the XML message in sxmb_moni? If yes then see in your adapter montioring for the error for receiver communicaiton channel. Some problem might be there? Also if you are using content conversion please check that also?

---Satish

Former Member
0 Kudos

thanx Satish

actually i m getting the sender XML in the following format

namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&

<?xml version="1.0"?>

<Invoice transactionPurposeIndicator="Original">

<InvoiceProperties>

<InvoiceNumber>0094372092</InvoiceNumber>

<InvoiceDate>20070316</InvoiceDate>........

in moni i m getting a chequered flag and the receiver communication channel is also fine

well one thing which is making me suspicious is that the XML i m seeing in moni looks a lot different from the usual XML payload we get.the client is sending the XML using business connector,is it normal to get the payload of this form is business connector is sending the XML?

thanx

ahmad