I am new to webmethods, Our requirement is our partner is using webmethods (SAP BC) and it has been configured with trading networks. Now We have to send a Purchase Order (IDOC, XML content) to the URL they have provided to us.
The URL is : http://<partnerip>:5555/invoke/wm.tn/receive
To post the data to this I prepared my HTTP client program using pure JAVA.
is it I need to post the data using parameter. Basically a webmethods Service will have some input parameter defined, like is wm.tn.receive also has some input parameter?. If so what is the data type for that?. Where can I found the service definition for that?.
Here my problem is I have client program to post the data to Http URL based Parameter, and also without setting any parameter also it can send xml content to service.
If I know the service definition, I can set the content type and I can post the data with parameter format OR stream format.
URL url = new URL("http://<ip>:449/invoke/wm.tn/receive");
URLConnection connection = url.openConnection();
connection.setRequestProperty(“Authorization”, "Basic " + Base64.encode(“kumar:kumar123”));
PrintWriter post_req = new PrintWriter(connection.getOutputStream());
Please help me that where can I find all the details of wm.tn receive Service definition, I know that everybody uses this Url to receive docs…But I dont know the service definition…If I know the service definition I can prepare my client accordingly by considering Content type and parameter names…Or stream…Please help me in this regard…
Thanks & Regards