on 05-21-2012 4:27 PM
Hi experts,
I have to develop a new synchronous interface to manage Tracking Request with DHL.
DHL gave me the link to their WSDL:
https://wsb.dhl.com/gbl/glDHLExpressTrack?WSDL
I'm trying to import it as an external definition in Interface Objects.
I have imported it as WSDL, no error, but in "Messages" tab there is nothing, therefore when I try to create related Message Interfaces, there is no message to choose.
Am I doing something wrong?
I think this is standard DHL interface, no-one of you as encountered problems?
Thanks
Fabio
Hi experts,
could anyone of you please do me a favour?
Could you try to import this wsdl definition in your XI system and tell me if it works correctly (I mean, if it creates Messages in Message Tab)?
https://wsb.dhl.com/gbl/glDHLExpressTrack?WSDL
Thanks,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
Here are the steps that I have followed, it worked fine for me:
1. Open the URL you mentioned in a web browser, display source and save as a local file.
2. In PI, choose New -> Interface Objects -> External Definition, type a name and create it. Make sure Category is set to "wsdl", locate the local file and import it to PI. Do not forget to save changes. Under messages, you should see the following.
3. Create new Service Interface, set Category to Outbound, Mode = Synchronous, for Request and Response choose Type = External Message, and choose your messages. Make sure that the External Definition is under the same SWCV as the Service Interface, otherwise you will not see it on the list.
4. While creating the Message Mapping, choose the message from the External Definition from the list.
Regards,
Greg
Hi Greg,
thanks for your help!!
I've followed exactly your indications, but still no luck.
When I import wsdl and activate it, there is no error, but messages tab is still empty.
I've also tried to import wsdl file in SOAPUI, and it works great, it shows me all the messages.
At this point, I don't know what to say, maybe is a problem of my PI? is a too old version? I don't know what tho think...
Thanks,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>but in "Messages" tab there is nothing, therefore when I try to create related Message Interfaces, there is no message to choose
Choose message type as external and then you will see the wsdl messages. Since your import wsdl does not give any error. You do the above.
You dont need to create message types. In your service interface choose message type as external and follow the screenshot as below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In service interface or message interface screen. Where you can choose request and response message type. There choose as the screen shot above
Few cents...
I believe that your imported WSDL without any error. If you have wsdl import unsuccesful, then you dont see messages in the mesg tab of external definition screen. You can validate Wsdl using xmlspy or some tool and see wsdl has any error too.
That means your WSDL might be wrong or when you import as external definition something happened to the wsdl. Please delete the old one and re import again with different name as wsdl name. Please check whether that helps. Also check whether wsdl file is valid or not using SOAPUI or XMLSPY. If the file is invalid, you will not see messages. Hope that helps
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.