Re: Posting XML messages through LR 11.52 - Help Required (292 Views)
Reply
Frequent Visitor
Saran2050
Posts: 3
Registered: ‎02-17-2014
Message 1 of 4 (372 Views)

Posting XML messages through LR 11.52 - Help Required

Hi All,

 

In my project I have to post XML messages to the host server and see how the server is reponding.

But I dont have the WSDL or the host URL. I have tried using Web service protocol. But it needs either WSDL file or the Host URL.

 

I have only hostname, port and the credentials.

 

Please help. Let me know if you need more information. Its a kind of urgent.

Occasional Advisor
Phuong_Nguyen
Posts: 9
Registered: ‎08-05-2013
Message 2 of 4 (339 Views)

Re: Posting XML messages through LR 11.52 - Help Required

Hi,

 

Please try to import a simple web service with this URL: https://16.59.124.174/WebServices/Yaron/MyWebServices/Services/SimpleService.asmx?WSDL

 

In case you cannot import from this URL, i also attach WSDL file: SimpleService.wsdl at here.

 

Please try with it.

 

Thanks,

Phuong Nguyen

From HP LR

Frequent Visitor
Saran2050
Posts: 3
Registered: ‎02-17-2014
Message 3 of 4 (321 Views)

Re: Posting XML messages through LR 11.52 - Help Required

Hi, Thanks for your reply. I tried to add the WSDL in both the ways you mentioned. I m getting the incompatibility issue in both ways.

 

I m have tried in LR 11.52 and LR 9.52. Same result.

 

But I m confused how I can use your WSDL for posting my XML messages. It depends on the application right?.

 

Please help...

Occasional Advisor
Phuong_Nguyen
Posts: 9
Registered: ‎08-05-2013
Message 4 of 4 (292 Views)

Re: Posting XML messages through LR 11.52 - Help Required

Hi,

 

I am sorry if I had confusion with your question. I thought you need a sample to test how webservice protocol process the messages.

If you want to send your XML messages to a host server, you have to know the URL to process your message.

WebService protocol is based on HTTP protocol, so if you don’t know the URL or host server doesn’t expose a URL that means we cannot use webservice protocol in this case.

In case you know a URL, we can use soap_request command to send xml messages. We don’t need a wsdl file, but at least, we need to have a URL to send the message to.

 

I have a question, can you access to this URL: http://<your hostname>:<port>? If you can access to it, I think you can try with soap_request command.

Please let me know if you need any more information.

 

Thanks,

Phuong

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.