Quantcast
Channel: SCN: Message List - SAP Business One Integration Technology
Viewing all articles
Browse latest Browse all 973

Consume Webservice in B1iF

$
0
0

Hello Experts,

 

i want to call a external Webservice.

I have create a soap-Atom and importet the wsdl.

 

First, I must authenticate me. then i get a Token.

With this token i send the Data.


With the program SOAPUI, it works:



when i build this call in B1iF, i got the Error:

Cannot find the declaration of element 'soapenv:Envelope'


<call xmlns="">            <SOAPAction>http://ABC.com/common/service/TestMethode/3.2/storeOrders</SOAPAction>            <connect serviceport="Service-Public_3_2_SOAP">                <destProtocol>https</destProtocol>                <destHost>ABC.com</destHost>                <destPort>443</destPort>                <destPath>services/ShipmentService/V3_2/</destPath>                            </connect>            <payload>                <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://abc.com/common/service/types/Authentication/2.0" xmlns:ns1="http://abc.om/common/service/types/Test/3.2">                    <soapenv:Header>                        <ns:authentication>                            <Login>AB1234567</Login>                            <authToken>LTgwMTgxNjE2NTM5Nzc1MjQxMzkRMTQ0NzE2NDM5ODQ4MgRR</authToken>                            <messageLanguage>de-DE</messageLanguage>                        </ns:authentication>                    </soapenv:Header>                    <soapenv:Body>                        <ns1:storeOrders>                           <printOptions>                                <printerLanguage>PDF</printerLanguage>                                <paperFormat>A6</paperFormat>                            </printOptions>                        </ns1:storeOrders>                    </soapenv:Body>                </soapenv:Envelope>            </payload>        </call>

what is my Error?

 

Thanks and Best Regards

 

Ronny


Viewing all articles
Browse latest Browse all 973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>