on 05-03-2013 6:00 PM
We're trying to develop an application that makes use of the B1iF mobile web services but run into issues when trying to add a business partner using the AddBP2 call. We get an error "code undefined" back as a response. We're using a series pulled from NNM1 that has already been defined in SAP and assuming that we can fill in any value for the cardcode. Is there a reason we might get the DI code undefined error back from this SOAP call?
Content-Type:text/xml;charset=UTF-8\r\n
\r\n
<?xml version="1.0" encoding="UTF-8"?>\r\n
<SOAP-ENV:Envelope xmlns:SOAP-ENV="\r\n" _mce_href="http://schemas.xmlsoap.org/soap/envelope/">\r\n">http://schemas.xmlsoap.org/soap/en...
<SOAP-ENV:Body>\r\n
<AddBP2>\r\n
<CardCode>1</CardCode>\r\n
<CardName>IntelliTouch Test</CardName>\r\n
<CardType>cCustomer</CardType>\r\n
<Series>46</Series>\r\n
<PhoneNum>2223334444</PhoneNum>\r\n
<Email>test@intellitouchdigital.com</Email>\r\n
<Address>123 Main St</Address>\r\n
<ContactPerson>John Svoboda</ContactPerson>\r\n
<WebSite>intellitouchdigital.com</WebSite>\r\n
</AddBP2>\r\n
<Connect xmlns="\r\n" _mce_href="http://tempuri.org/">\r\n">http://tempuri.org/">\r\n
<userName>manager</userName>\r\n
<password>axelprod</password>\r\n
<phoneNum>8109087256</phoneNum>\r\n
<deviceIMEI>84:8F:69:B1:20:1D</deviceIMEI>\r\n
<companyDB>AxelTestII</companyDB>\r\n
</Connect>\r\n
</SOAP-ENV:Body>\r\n
</SOAP-ENV:Envelope>\r\n
\r\n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help. I think what happened here was ultimately a bit different. I had to add an xmlns=http://tempuri.org attribute to the AddBP element as well. It's kind of silly, but after I cleaned that up the error went away. At least, that specific error.
Kevin Ly
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.