on 01-05-2015 7:42 PM
When I export a SAP standard WSDL for an outbound webservice, I get an error when I try to open it in soapUI.
An outbound webservice could be something like the 3PL Outbound Delivery Request webservice, which BYD calls the external system to send an order to start shipping. Since it's an external API (that is, not in SAP BYD), there is probably not an endpoint in the WSDL.
When I create a project around this WSDL, soapUI complains "Found nothing to import in file ....<WSDL name>".
Has anyone figured out how to fix this ? I assume probably something in the WSDL needs to be added or edited.
Appreciate your tips. Thanks ahead !
These are outbound WSDLs as such Soap ui would not do anything for you. There is no actionable information in the WSDL. what is the Purpose of using SOAP UI with these?
Also note that as there is no Actual service associated with these WSDLs as such there is by definition no "Service" Section such as the following from an inbound service
<wsdl:service name="service">
<wsdl:port name="binding" binding="tns:binding">
<soap:address location="https://*******.sapbydesign.com/sap/bc/srt/scs/sap/manageprocurementpricespecific?sap-vhost=*******...." />
</wsdl:port>
<wsdl:port name="binding_SOAP12" binding="tns:binding_SOAP12">
<wsoap12:address location="https://********.sapbydesign.com/sap/bc/srt/scs/sap/manageprocurementpricespecific?sap-vhost=*******..." />
</wsdl:port>
</wsdl:service>
Message was edited by: William Gast
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is Correct the WSDL provided can be imported in to any number of programming tools to generate the server stub (Code) that is needed. This all depends on the Language / tools they are developing with...
in .net they can simply use the following to generate c# code
wsdl.exe yourFile.wsdl /l:CS /serverInterface
I have done just this and it works great in our 3pl integrations.
We are using basic authentication over SSL and analyzing the headers... here is a example of the code for that (C#)
string auth = HttpContext.Current.Request.Headers("Authorization");
byte[] encodedDataAsBytes = Convert.FromBase64String(auth.Replace("Basic ", ""));
string value = Encoding.ASCII.GetString(encodedDataAsBytes);
string username = value.Substring(0, value.IndexOf(':'));
string password = value.Substring(value.IndexOf(':') + 1);
Hi,
are you using the correct wsdl? Note that for example when you create a ws in sap, it generates two wsdl:
one is just port type definition, the other one contains also the endpoints. and you need the second one!
In addition check that your wsdl is well formatted (you can use an online formatter)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.