I have a requirement of posting XML data over https to an external partner. Please suggest how can we proceed on this?
Hi,
You can use pub.client:http service.You can provide following as input;-
url—>the resource that you want to access
method–>Specifies the HTTP method
[FONT=PalatinoLinotype-Italic][SIZE=3][FONT=PalatinoLinotype-Italic][SIZE=3]data–>Data that you want the http service to submit with the HTTP request.
[/SIZE][/FONT][/SIZE][/FONT]
pub.client.http creates a http based communication. What needs to be done to create a https (Secure HTTP) based communication using client certificates?
Hi,
you can use the EDINT:send service and post it to the TN where you can set up all SSl and signature validation.The same thing i have to implement in my project .In my case its throwing error while getdetailsfrom TN .
If you do sucessfully you just post me how you completed.
The way which i tell you is the right process.
Best of luck
you can use pub.client.http service for https communication as well… the only thing will differ is the url with “https” in the input paramaters… depening upon your calling application you need to configure your SSL settings… if handshake is one-way ie. you only need to validate client’s certificate place the client’s certificates into trustedstore and configure this trustStore under certificate setting but if your calling application request for your certs as well (2-way handshake)… configure a keysotre where you need to place your privatekey along with your certificates…
hope it make sense and helpful to you!
Yes as devexpert said above,just follow the https cert configuration via ISAdminConsole page -->Security–>Certificates section
and also set require client certificates option and allow IP access by default based on your network/firewall rules.
HTH,
RMG
Hi have done the suggested configurations and still I am getting the below error
com.wm.app.b2b.server.ServiceException: com.wm.net.NetException: [ISC.0064.9314] Authorization Required: com.wm.app.b2b.server.AccessException: com.wm.app.b2b.server.AccessException: [ISS.0084.9004] Access Denied
Please let me know incase of any solutions suggested for this.
Thanks in advance
Check the following:
1.) Make sure the user credentials you are passing in “http” call is correct.
2.) If you have firewall in your systems then it should be properly configured to allow outbound and inbound (http res) from the IP/hostname which you trying to invoke.
3.) If target system (partner) has firewall for inbound connection they should also allow your IP’s to enter into their network.
Hope it helps!
Cheers
Hi
Thanks for the suggestions…I am facing problems only with getting the Inbound data. Outbound is working
Also for HTTPS communication we dont need to provide any user credentials as authentication needs to be certificate based communication.
There is also no firewall issue due to which it is occuring
if i followed this post correctly, u were trying to post xml to partner through http which should is o/b http call, when you say you are getting this “authorisation error” in inbound http(s) calls… is your partner is experiencing this problem?
Since this is occurring on inbound request, this might be related to the ACL configuration of the target service. Try to set execute ACL of the target service to ‘Anonymous’ and execute it.