B2B - Error While sending the document to GXS from Oracle B2B server.
842662Mar 10 2011 — edited Mar 15 2011When I am trying to send the document to GXS, getting the following error. This message is show in the window that pops up when you click on Reports->WireMessage->Details of the Message.
I am trying to find what is causing the issue.
State ERROR
Error Code B2B-50079
Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
Here is the complete details from the Window.
Id 812E875712EA19A8EEC000005EF51ED3
Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
Business Message 812E875712EA19A8E88000005EF51ED0
Packed Message Packed Message
Payload Payload
Protocol Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
Refer To Protocol Message Id
Protocol Collaboration Id
Protocol Transport Binding TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
Message Digest Message Digest
Digest Algorithm
Transport Protocol HTTP
Transport Protocol Version 1.1
Url https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
security
Transport Headers TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
certificates certificates
State ERROR
Error Code B2B-50079
Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
exchangeRetryInterval
exchangeRemainingRetry
Message Size 0
Here is the Setup We did sofar.
1) Created the Document Definition.
PositionalFlatFile-VDA-1998-4913v4-4913v4_Definition
2) Created Trading Partner Profile
Trader_Joes
3) Added Document Definition to the TP as receiver.
4) Configured a channel with Protocol "Generic HTTP-1.0". Is it showing only one entry, HTTP.
Transport Protocol: Selected "HTTP" from the dropdown list.
url: https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
username: xxxx
password: xxxx
Additional transport headers: content-type=application/HTTPstream,actionrequest=upload,receiverid=xxxxxxx,datatype=EDI,aprf=TEST,snrf=12345678
NOTE: I don't see tabs for "Exchange Protocol Parameters" and "Security". It only shows "Transport Protocol Parameters" and "Channel Attributes" tabs.
=====
5) Created Agreement with the document defition that was created.
6) Deployed the Agreement and it is showing "Active" state.
7) Created a Keystore on the server using the following command.
keytool -genkeypair -alias serverCert -keyalg RSA -keysize 1024 -validity 365 -dname "CN=soa.Acmesystems.com,OU=Support,O=Acmesystems,L=suntown,ST=MD,C=US" -keypass xxxxxxxxxx -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
8) Imported the certificate that we got from the GXS to the Key store using the following command.
keytool -importcert -v -noprompt -trustcacerts -alias ws-tradinggrid -file ws-tradinggrid.cer -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
9) After that When I run my composite bpel program to send B2B message, I am getting the above error.
Where is the issue?
Any help is appreciated.
Thank you
Krishna