HTTP Transport Error in Net BEans 6.5
Hello,
I am consuming a web service using JAX-RPC. I am trying to log onto a web interface through my program but I am getting the following error:
Feb 6, 2009 1:10:54 PM ttsample.Engine Login
SEVERE: null
java.rmi.RemoteException: HTTP transport error: java.net.UnknownHostException: http; nested exception is:
Logged in...
HTTP transport error: java.net.UnknownHostException: http
at ttsample.TtsoapcgiPortType_Stub.databaseLogon(TtsoapcgiPortType_Stub.java:819)
at ttsample.Engine.Login(Engine.java:77)
at ttsample.Main.main(Main.java:30)
Caused by: HTTP transport error: java.net.UnknownHostException: http
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
at ttsample.TtsoapcgiPortType_Stub.databaseLogon(TtsoapcgiPortType_Stub.java:802)
... 2 more
I searched the web and found that this is a proxy setting proble.
I configured apache earlier to use the local host that run the web client.
When I change the http port host and port number and try to login into the web client its giving me page not found error.So I changed the proxy settings to default and then restarted the system and then tried to log into the web client and it worked.
I dont know where i am going wrong.I want to consume the WSDL and log into the web client but i am gettingthe above error.
Anyone's help will be greatly appreciated.
Thank You,
Sravanthi.
Where did you get the address: http://sal006.salnetwork.com:82/bin/lccountrycodes.cgi (shouldn't the 82 be 83 instead?)
Similar Messages
-
All -
I'm new to consuming web services in JDeveloper. I'm using Oracle JDEV 10.1.3.3/OC4J. I'm using this version since it is compatible with Oracle EBS 12.1.3. My intent is to pull data from our third party recruitment app (Success Factors) and load that data into Oracle HRIS. I'm already doing this through a .NET application. I'm converting it to be a Java Concurrent Program in EBS. The code listed below is a stub call to verify I'm on the right track. I created a JDeveloper Web Services proxy project. I'm testing it locally on my windows desktop. When I'm able to consume the service successfully, then I'll think about moving it to the EBS server.
I'm getting the following error when I invoke the following service:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
End point is: https://api4.successfactors.com/sfapi/v1/soap?wsdl
Any help/assistance would be much appreciated.
Below is my code and output of my test:
package emsc.oracle.apps.emscper.sfapi.proxy;
import HTTPClient.HTTPConnection;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSession;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSessionResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Login;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResult;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Logout;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LogoutResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFCredential;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFParameter;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Error;
import java.io.File;
import javax.xml.rpc.ServiceFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.Date;
import javax.xml.ws.BindingProvider;
import javax.xml.soap.SOAPException;
import java.util.Map;
import oracle.security.ssl.OracleSSLCredential;
public class SFAPITest {
// Declare members:
private String companyId;
private String userName;
private String password;
private String developerKey;
private Date effDt;
private String greaterThanEffDt;
private String lessThanEffDt;
// Declare constants:
final static private String breakLine = "+---------------------------------------------------------------------------+";
final static private String format = "yyyy-mm-dd";
private enum ReqId {
PrimaryReq(25),
PrimaryReqCEO(26),
EmCarePrimary(27),
RTI(28),
EmCareClinical(29);
private int reqId;
private ReqId() {
private ReqId(int value) {
reqId = value;
public int getReqId() {
return reqId;
// Getters and Setters:
protected String getCompanyId() {
return this.companyId;
protected void setCompanyId(String value) {
this.companyId = value;
protected String getUserName() {
return this.userName;
protected void setUserName(String value) {
this.userName = value;
protected String getPassword() {
return this.password;
protected void setPassword(String value) {
this.password = value;
protected String getDeveloperKey() {
return this.developerKey;
protected void setDeveloperKey(String value) {
this.developerKey = value;
protected Date getEffDt() {
return this.effDt;
protected void setEffDt(Date value) {
this.effDt = value;
protected String getGreaterThanEffDt() {
return this.greaterThanEffDt;
protected void setGreaterThanEffDt(String value) {
this.greaterThanEffDt = value;
protected String getLessThanEffDt() {
return this.lessThanEffDt;
protected void setLessThanEffDt(String value) {
this.lessThanEffDt = value;
public void runProgram()
SFAPIService mySFAPIService;
String CompletionText = "";
String effDtStr2 = null;
/* Code your program logic here.
* Use getJDBCConnection method to get the connection object for any
* JDBC operations.
* Use CpContext provided commit,rollback methods to commit/rollback
* data base transactions.
* Don't forget to release the connection before returning from this
* method.
/* Call setCompletion method to set the request completion status and
* completion text.
* Status values are ReqCompletion.NORMAL,ReqCompletion.WARNING,
* ReqCompletion.ERROR.
* Use Completion text message of length 240 characters. If it is more
* than 240 then full string will appear in log file and truncated 240
* characters will be used as request completion text.
try
ServiceFactory factory = ServiceFactory.newInstance();
mySFAPIService = (emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService)factory.loadService(emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService.class);
SFAPI api = mySFAPIService.getSFAPI();
/// SFAPI api = new SFAPI();
//Map<String, Object> requestContext = ((BindingProvider) api).getRequestContext();
//requestContext.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
System.out.println("ServiceName => " + mySFAPIService.getServiceName().toString());
System.out.println("End Point => " + mySFAPIService.getServiceName().toString());
System.out.println(breakLine);
// Authentication: Login to SFAPI:
SFCredential credential = new SFCredential();
// Fake credentials being passed in for this post:
credential.setCompanyId("XXX");
credential.setUsername("XXX");
credential.setPassword("XXX");
credential.setDeveloperKey("XXX");
HTTPConnection httpsConnection = null;
OracleSSLCredential _credential = new OracleSSLCredential();
_credential.setWallet("\\\\\\C:\\Program Files\\Java\\jdk1.6.0_33\\jre\\lib\\security", "ParkEstes3");
/*System.setProperty("javax.net.ssl.trustStore","C:\\\\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\keystore");
System.setProperty("javax.net.ssl.trustStorePassword","changeit");
System.out.println(System.getProperty("javax.net.ssl.trustStore"));*/
// SFParameter: Define a generic SFParameter List. This is a necessary parameter
// to invoking calls in SFAPI:
/*System.setProperty("javax.net.ssl.keyStore",
"file:\\\C:\\jdk1.4.1\\jre\\lib\\security\\client.keystore");
System.setProperty("javax.net.ssl.keyStorePassword","welcome"); */
/* System.setProperty("oracle.net.wallet_location",
"(SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=\\\C:\Users\dparrish\Oracle\WALLETS)))"); // (2) */
File kstore = new File("C:\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if (!exists) {
System.out.println("Keystore does not exist");
else {
System.out.println("Keystore does exist");
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
//System.setProperty("proxySet", "false");
//System.setProperty("http.proxyHost", "127.0.0.1");
//System.setProperty("http.proxyPort", "8080");
System.out.println(kstore.getAbsolutePath());
List<SFParameter> lst = new ArrayList<SFParameter>();
SFParameter param = new SFParameter();
param.setName("");
param.setValue("");
lst.add(param);
SFParameter[] sfParam = lst.toArray(new SFParameter[lst.size()]);
Login login = new Login();
try {
login.setCredential(credential);
System.out.println("1");
login.setParam(sfParam);
System.out.println("2");
LoginResponse loginResponse = new LoginResponse();
LoginResult loginResult = new LoginResult();
try {
loginResponse = api.login(login);
catch (Exception e ) {
System.out.println(e.getMessage());
System.out.println("3");
try {
loginResult = loginResponse.getResult();
catch (Exception e ) {
System.out.println(e.getMessage());
System.out.println("4");
IsValidSession vs = new IsValidSession();
IsValidSessionResponse isValidSessionResponse = api.isValidSession(vs);
System.out.println("5");
if (isValidSessionResponse.isResult()) {
System.out.println("Session is valid");
System.out.println("Result => " + loginResult.getSessionId());
System.out.println(breakLine);
Logout logout = new Logout();
LogoutResponse logoutResponse = api.logout(logout);
if (logoutResponse.isResult()) {
System.out.println("Logout of SFAPI Successful");
else {
System.out.println("Logout of SFAPI Unsuccessful");
else {
System.out.println("Session is invalid");
List<Error> errors = new ArrayList<Error>();
for (int i = 0; i < loginResult.getError().length; i++) {
errors.add(loginResult.getError()[i]);
for (int i = 0; i < errors.size(); i++) {
System.out.println("Error Indice => " + i);
System.out.println("Error Code: => " + errors.get(i).getErrorCode());
System.out.println("Error Message: => " + errors.get(i).getErrorMessage());
System.out.println(breakLine);
} // end for loop of SFObject errors
} // end InvalidSession
catch (Exception e)
System.out.println("Session Credential Exception");
System.out.println("Exception => " + e.getMessage());
System.out.println(breakLine);
catch (Exception e)
System.out.println("Parameter List Exception");
System.out.println("Exception => " + e.getMessage());
System.out.println(breakLine);
} // end runProgram
// Constructor:
public SFAPITest() {
} // end constructor
public static void main (String args[]) {
try
SFAPITest test = new SFAPITest();
test.runProgram();
catch (Exception e) {
System.out.println("main exception => " + e.getMessage());
} // SFAPITest
Here is the output with trace:
WARNING: Unable to connect to URL: https://api4.successfactors.com:443/sfapi/v1/soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
Session Credential Exception
Exception => ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
+---------------------------------------------------------------------------+
Process exited with exit code 0.The other end is throwing back a programming error.
That might be because you are sending incorrect data and the other end fails to validate it.
You might be able to guess based on your C# code. But, since you are using soap one generic solution is available to you.
- Get an http proxy interceptor like wireshark.
- Run it while your C# app runs, collect the http requests from that.
- Run it while running your java code, collect the http requests from that.
Compare the two. -
401 Unauthorized:HTTP transport error while calling external WSDL from BPEL
Hi,
I have simple BPEL process whic calls siebel WSDL file through partner link.
I have successfully compiled and deployed BPEL process, when i initiate the Process, instace got errored out at invoke activity.
Error Goes like this
"<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized</summary>
</part></remoteFault>"
Can anybody help on this issue, Could you please give me possible solution.
Thank youl.we have not provided any authentication credentials to XMLSpy, we have just uploaded siebel WSDL file then sent the SOAP request with some customer Id then we have received proper response with all desired customer data.
In the same way we tried to call same siebel WSDL file from BPEL process throgh partner link. errored instance has created with 401 unauthorised HTTP transport error..
Do you think is this probem at siebel application side?
We have deployed our BPEL process to SOA server which is having HTTP port 7777.
as per my investigation,i found that we have to open port from siebel side (which WSDL file we are calling) which matches with above HTTP port number.
Do you have any idea on this above clue? Please let us know more details on this. -
Hi all,
I am getting below error while invoking Siebel web service from BPEL service,
<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
</summary>
</part>
</remoteFault>
</fault
Please help me to resolve this issue.
Thanks,
Santosh M EResolved, I was invoking an external Web service which is an Asynchronous 2 way.
Didn't capture the reply back from the Async service. -
Exception on JaxRpc invoke: HTTP transport error in BPEL process
Hi,
One C# web service is running on IIS. I am trying to invoke this web service from BPEL process on the same system in which IIS is running. I have created the partnerlink using generated the WSDL file from IIS. I have changed the 'tempuri.org' to 'localhost' . I am able to compile and deploy the process but during execution it gives following error during invoke of web service
<messages><input><Invoke_1_ProcessXMLDoc_InputVariable_1><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><ProcessXMLDoc xmlns="http://10.100.34.70/"/>
</part></Invoke_1_ProcessXMLDoc_InputVariable_1></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Access Denied</summary>
</part></remoteFault></fault></messages>
Can anybody suggest to resolve this error?
Thankstry removing your "localhost" from the windows hosts file and then do it all over again using your ip or hostname.
-
hi
im getting the below error when im trying to deploy a web service in Jdeveloper using Weblogic 8.0.
Error:
WARNING: Unable to connect to URL: http://localhost:7001/Test-Sample-context-root/MyWebService1SoapHttpPort due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: Underlying input stream returned zero bytes
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: Underlying input stream returned zero bytes
at sample1.proxy.runtime.MyWebService1SoapHttp_Stub.add(MyWebService1SoapHttp_Stub.java:95)
at sample.MyWebService1SoapHttpPortClient.add(MyWebService1SoapHttpPortClient.java:45)
at sample.MyWebService1SoapHttpPortClient.main(MyWebService1SoapHttpPortClient.java:31)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: Underlying input stream returned zero bytes
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:172)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:148)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at sample1.proxy.runtime.MyWebService1SoapHttp_Stub.add(MyWebService1SoapHttp_Stub.java:79)
... 2 more
Process exited with exit code 0.
Please let me know what will be the problem.Hi,
I too face the same problem.
The web service which i created do not need any authendication.
Still im facing the same error. The exception caught is client transport exception.
I too use weblogic 8.1 for testing.
Thanks in advance
Prakash Vijayan -
Invoke Exception:exception on JaxRpc invoke:Http Transport Error:
Hi,
I created a BPEL process which access a Java class using WSIF. I deploy the Process to my local BPEL console. When i enter an input value and click on Post XML Message button, the process errors out.
The Error is in the Invoke Section,
<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 404 Not Found</summary>
Please adviceI noticed this Error when i selected Soap 1.2 and WSIF binding during creating a J2ee Web Service. When i select soap 1.1 and WSIF binding, i don't see this error.
-
Getting HTTP transport error: when trying to access the webservices
Hi,
I have created proxy in JDeveloper 10g. When trying to access the webservices, getting the following error:
javax.xml.rpc.soap.SOAPFaultException: exception on JaxRpc invoke: HTTP transport error:
javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:578)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:400)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at com.tenncare.payment.proxy.runtime.__soap_pipe_execute_ppt_Stub.execute(__soap_pipe_execute_ppt_Stub.java:76)
at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.execute(__soap_pipe_execute_pptClient.java:69)
at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.main(__soap_pipe_execute_pptClient.java:43)
Process exited with exit code 0.
Can anyone help me what might be the reason. If you need more information, I can post it in the next.Hi,
Can you just check your end point URL, and try with appending user name and password at the end of it as parrameters like http://<end point URL>&UserName=admin&Password=admin.
Other wise check the SOAP request which is going to server using any tool as SOAP UI.
Regards,
Vikram -
HTTP 401 error for RosettaNet Request
I get a return code of 401 when I send a http request to another server. The private
process invokes a "Send Business Messgae" from the PIP3A2_Customer_RN2 public
workflow. In my Transport spec., I have specified the URI as http://199.22.31.222/Quantum
which is the destination machine. The full text of the messages displayed on
the console is shown below. I request is being sent as wlpisystem.
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:In
Servlet...>
****SendQPARequestTag.java:In Servlet...
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
**QPA Request: Message=<TextMessage[ID:P<286588.1008033356161.0>, <?xml version=
"1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wlpi.EventQueue>>
****SendQPARequestTag.java:****QPA Request: Message=<TextMessage[ID:P<286588.100
8033356161.0>, <?xml version="1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wl
pi.EventQueue>
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
**After receive queue init:>
****SendQPARequestTag.java:****After receive queue init:
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: Customer_PrivateWF started.>
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: Starting Public Workflow: <?xml version="1.0" encoding="UTF-8"?>
<Pip3A2PriceAndAvailabilityQuery>
<GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassificati
onCode>
<ProductPriceAndAvailabilityQuery>
<ProductPriceAndAvailability>
<ProductLineItem>
<ProductQuantity>5000</ProductQuantity>
<productUnit>
<ProductPackageDescription>
<unitPrice>
<FinancialAmount>
<GlobalCurrencyCode>USD</GlobalCurrencyCode>
<MonetaryAmount>3.50</MonetaryAmount>
</FinancialAmount>
</unitPrice>
<ProductIdentification>
<GlobalProductIdentifier>QPA88</GlobalProductIdentifier>
</ProductIdentification>
</ProductPackageDescription>
</productUnit>
</ProductLineItem>
</ProductPriceAndAvailability>
</ProductPriceAndAvailabilityQuery>
<fromRole>
<PartnerRoleDescription>
<GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassifi
cationCode>
<PartnerDescription>
<GlobalPartnerClassificationCode>Distributor</GlobalPartnerClassificat
ionCode>
<BusinessDescription>
<GlobalBusinessIdentifier>123456789</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
>
</BusinessDescription>
</PartnerDescription>
<ContactInformation>
<contactName>
<FreeFormText>Jane Doe</FreeFormText>
</contactName>
<telephoneNumber>
<CommunicationsNumber>7205286001</CommunicationsNumber>
</telephoneNumber>
<EmailAddress>[email protected]</EmailAddress>
</ContactInformation>
</PartnerRoleDescription>
</fromRole>
<toRole>
<PartnerRoleDescription>
<GlobalPartnerRoleClassificationCode>Product Supplier</GlobalPartnerRole
ClassificationCode>
<PartnerDescription>
<GlobalPartnerClassificationCode>Manufacturer</GlobalPartnerClassifica
tionCode>
<BusinessDescription>
<GlobalBusinessIdentifier>987654321</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
>
</BusinessDescription>
</PartnerDescription>
</PartnerRoleDescription>
</toRole>
<thisDocumentGenerationDateTime>
<DateTimeStamp>20010612T154020.123Z</DateTimeStamp>
</thisDocumentGenerationDateTime>
<thisDocumentIdentifier>
<ProprietaryDocumentIdentifier>myDoc</ProprietaryDocumentIdentifier>
</thisDocumentIdentifier>
<GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
</Pip3A2PriceAndAvailabilityQuery>
>
<Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: PIP3A2_Customer_RN2 started. >
<Dec 10, 2001 5:15:58 PM PST> <Error> <B2B> <<HTTP-Transport> ERROR: HTTP error
during send to http://192.168.100.150:7001/Quantum: code=401, type=text/html,
re
sponse=...>
<Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from Work
flow: PIP3A2_Customer_RN2Error sending message>
<Dec 10, 2001 5:15:58 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:58.525</started>
<requestor>wlpisystem</requestor>
<templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name>
<templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid>
<actions>
</actions>
<completed>2001-12-10 17:15:58.525</completed>
</wlpirequest>
>
<Dec 10, 2001 5:15:59 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:58.014</started>
<requestor>wlpisystem</requestor>
<templateid>1002</templateid>
<template-name>PIP3A2_Customer_RN2</template-name>
<templatedefinitionid>1002</templatedefinitionid>
<instanceid>27010</instanceid>
<actions>
<setvariable time="2001-12-10 17:15:58.014" variable="fromRole">Customer</se
tvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="fromService">Customer
Service</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="toRole">Product Suppli
er</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="toService">Product Sup
plier Service</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="businessActivityID">Qu
ery Price and Availability</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="actionCode">Price and
Availability Query</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="actionCodeVersion">1.3
</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="PIP">3A2</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="PIPVersion">1.3</setva
riable>
<setvariable time="2001-12-10 17:15:58.014" variable="retryCount">1</setvari
able>
<setvariable time="2001-12-10 17:15:58.014" variable="isSignal">false</setva
riable>
<setvariable time="2001-12-10 17:15:58.014" variable="SERVICE_CONTENT_SCHEMA
">3A2PriceAndAvailabilityQueryMessageGuideline_v1_3.xsd</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="DOC_TYPE"><!DOCTYPE
Pi
p3A2PriceAndAvailabilityQuery SYSTEM '3A2PriceAndAvailabilityQueryMessageGuideli
ne_v1_3.dtd'></setvariable>
<activatetask time="2001-12-10 17:15:58.034" taskid="960254416076" name="wai
t for workflow to timeout"/>
<settaskduedate time="2001-12-10 17:15:58.034" taskid="960254416076" name="w
ait for workflow to timeout">2001-12-11 17:15:58.034</settaskduedate>
<activatetask time="2001-12-10 17:15:58.044" taskid="990730869247" name="Sen
d Message"/>
<setvariable time="2001-12-10 17:15:58.054" variable="rnProcessInstanceId">T
eleplan10080333568524</setvariable>
<setvariable time="2001-12-10 17:15:58.485" variable="messageCode">401</setv
ariable>
<marktaskdone time="2001-12-10 17:15:58.485" taskid="990730869247" name="Sen
d Message"/>
<setvariable time="2001-12-10 17:15:58.485" variable="reason">Error sending
message</setvariable>
<workflowdone time="2001-12-10 17:15:59.697" name="PIP3A2_Customer_RN2"/>
</actions>
<completed>2001-12-10 17:15:59.697</completed>
</wlpirequest>
>
<Dec 10, 2001 5:16:00 PM PST> <Info> <WLPI> <<wlpirequest>
<started>2001-12-10 17:15:56.291</started>
<requestor>wlpisystem</requestor>
<templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name>
<templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid>
<actions>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductID">QPA88</setv
ariable>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductQuantity">5000<
/setvariable>
<setvariable time="2001-12-10 17:15:56.301" variable="ProductUnitPrice">3.50
</setvariable>
<activatetask time="2001-12-10 17:15:56.311" taskid="2" name="Start the Publ
ic Workflow"/>
<setvariable time="2001-12-10 17:15:56.321" variable="PIPInput">[B@7803ee</s
etvariable>
</actions>
<completed>2001-12-10 17:16:00.067</completed>
</wlpirequest>
>Hi
We are also facing the same problem. but as you mentioned in solution.
user: <domain>/<admin-user>
pw: pw
I am getting the same problem of Error 401. Kindly describe in detail with example.
Thanks
Regards,
R Karthikeyan -
HTTP 401 Error when sending RosettaNet Message
I get a return code of 401 when I send a http request to another server. The private
process invokes a "Send Business Messgae" from the PIP3A2_Customer_RN2 public
workflow. In my Transport spec., I have specified the URI as http://192.168.100.150:7001/Quantum
which is the destination machine. The full text of the messages displayed on the
console is shown below. I request is being sent as wlpisystem.
<Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:In
Servlet...> ****SendQPARequestTag.java:In Servlet... <Dec 10, 2001 5:15:56 PM
PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:** **QPA Request: Message=<TextMessage[ID:P<286588.1008033356161.0>,
<?xml version= "1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wlpi.EventQueue>>
****SendQPARequestTag.java:****QPA Request: Message=<TextMessage[ID:P<286588.100
8033356161.0>, <?xml version="1.0" ?><QPARequ...]> sent to JMS queue <com.bea.wl
pi.EventQueue> <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<User> ****SendQPARequestTag.java:**
**After receive queue init:> ****SendQPARequestTag.java:****After receive queue
init: <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log from
Work flow: Customer_PrivateWF started.> <Dec 10, 2001 5:15:56 PM PST> <Info> <B2B>
<<B2B-BPM-Plugin> INFO: Log from Work flow: Starting Public Workflow: <?xml version="1.0"
encoding="UTF-8"?> <Pip3A2PriceAndAvailabilityQuery> <GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassificati
onCode> <ProductPriceAndAvailabilityQuery> <ProductPriceAndAvailability> <ProductLineItem>
<ProductQuantity>5000</ProductQuantity> <productUnit> <ProductPackageDescription>
<unitPrice> <FinancialAmount> <GlobalCurrencyCode>USD</GlobalCurrencyCode> <MonetaryAmount>3.50</MonetaryAmount>
</FinancialAmount> </unitPrice> <ProductIdentification> <GlobalProductIdentifier>QPA88</GlobalProductIdentifier>
</ProductIdentification> </ProductPackageDescription> </productUnit> </ProductLineItem>
</ProductPriceAndAvailability> </ProductPriceAndAvailabilityQuery> <fromRole>
<PartnerRoleDescription> <GlobalPartnerRoleClassificationCode>Customer</GlobalPartnerRoleClassifi
cationCode> <PartnerDescription> <GlobalPartnerClassificationCode>Distributor</GlobalPartnerClassificat
ionCode> <BusinessDescription> <GlobalBusinessIdentifier>123456789</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
</BusinessDescription> </PartnerDescription> <ContactInformation> <contactName><FreeFormText>Jane Doe</FreeFormText> </contactName> <telephoneNumber> <CommunicationsNumber>7205286001</CommunicationsNumber>
</telephoneNumber> <EmailAddress>[email protected]</EmailAddress> </ContactInformation>
</PartnerRoleDescription> </fromRole> <toRole> <PartnerRoleDescription> <GlobalPartnerRoleClassificationCode>Product
Supplier</GlobalPartnerRole ClassificationCode> <PartnerDescription> <GlobalPartnerClassificationCode>Manufacturer</GlobalPartnerClassifica
tionCode> <BusinessDescription> <GlobalBusinessIdentifier>987654321</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode
</BusinessDescription> </PartnerDescription> </PartnerRoleDescription> </toRole><thisDocumentGenerationDateTime> <DateTimeStamp>20010612T154020.123Z</DateTimeStamp>
</thisDocumentGenerationDateTime> <thisDocumentIdentifier> <ProprietaryDocumentIdentifier>myDoc</ProprietaryDocumentIdentifier>
</thisDocumentIdentifier> <GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
</Pip3A2PriceAndAvailabilityQuery>
<Dec 10, 2001 5:15:58 PM PST> <Info> <B2B> <<B2B-BPM-Plugin> INFO: Log fromWork flow: PIP3A2_Customer_RN2 started. > <Dec 10, 2001 5:15:58 PM PST> <Error>
<B2B> <<HTTP-Transport> ERROR: HTTP error during send to http://192.168.100.150:7001/Quantum:
code=401, type=text/html, re sponse=...> <Dec 10, 2001 5:15:58 PM PST> <Info>
<B2B> <<B2B-BPM-Plugin> INFO: Log from Work flow: PIP3A2_Customer_RN2Error sending
message> <Dec 10, 2001 5:15:58 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-10
17:15:58.525</started> <requestor>wlpisystem</requestor> <templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name> <templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid> <actions> </actions> <completed>2001-12-10 17:15:58.525</completed>
</wlpirequest>
<Dec 10, 2001 5:15:59 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-1017:15:58.014</started> <requestor>wlpisystem</requestor> <templateid>1002</templateid>
<template-name>PIP3A2_Customer_RN2</template-name> <templatedefinitionid>1002</templatedefinitionid>
<instanceid>27010</instanceid> <actions> <setvariable time="2001-12-10 17:15:58.014"
variable="fromRole">Customer</se tvariable> <setvariable time="2001-12-10 17:15:58.014"
variable="fromService">Customer Service</setvariable> <setvariable time="2001-12-10
17:15:58.014" variable="toRole">Product Suppli er</setvariable> <setvariable time="2001-12-10
17:15:58.014" variable="toService">Product Sup plier Service</setvariable> <setvariable
time="2001-12-10 17:15:58.014" variable="businessActivityID">Qu ery Price and
Availability</setvariable> <setvariable time="2001-12-10 17:15:58.014" variable="actionCode">Price
and Availability Query</setvariable> <setvariable time="2001-12-10 17:15:58.014"
variable="actionCodeVersion">1.3 </setvariable> <setvariable time="2001-12-10
17:15:58.014" variable="PIP">3A2</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="PIPVersion">1.3</setva riable>
<setvariable time="2001-12-10 17:15:58.014" variable="retryCount">1</setvari able>
<setvariable time="2001-12-10 17:15:58.014" variable="isSignal">false</setva riable>
<setvariable time="2001-12-10 17:15:58.014" variable="SERVICE_CONTENT_SCHEMA ">3A2PriceAndAvailabilityQueryMessageGuideline_v1_3.xsd</setvariable>
<setvariable time="2001-12-10 17:15:58.014" variable="DOC_TYPE"><!DOCTYPE Pi p3A2PriceAndAvailabilityQuery
SYSTEM '3A2PriceAndAvailabilityQueryMessageGuideli ne_v1_3.dtd'></setvariable>
<activatetask time="2001-12-10 17:15:58.034" taskid="960254416076" name="wai t
for workflow to timeout"/> <settaskduedate time="2001-12-10 17:15:58.034" taskid="960254416076"
name="w ait for workflow to timeout">2001-12-11 17:15:58.034</settaskduedate>
<activatetask time="2001-12-10 17:15:58.044" taskid="990730869247" name="Sen d
Message"/> <setvariable time="2001-12-10 17:15:58.054" variable="rnProcessInstanceId">T
eleplan10080333568524</setvariable> <setvariable time="2001-12-10 17:15:58.485"
variable="messageCode">401</setv ariable> <marktaskdone time="2001-12-10 17:15:58.485"
taskid="990730869247" name="Sen d Message"/> <setvariable time="2001-12-10 17:15:58.485"
variable="reason">Error sending message</setvariable> <workflowdone time="2001-12-10
17:15:59.697" name="PIP3A2_Customer_RN2"/> </actions> <completed>2001-12-10 17:15:59.697</completed>
</wlpirequest>
<Dec 10, 2001 5:16:00 PM PST> <Info> <WLPI> <<wlpirequest> <started>2001-12-1017:15:56.291</started> <requestor>wlpisystem</requestor> <templateid>1001</templateid>
<template-name>Customer_PrivateWF</template-name> <templatedefinitionid>1001</templatedefinitionid>
<instanceid>27009</instanceid> <actions> <setvariable time="2001-12-10 17:15:56.301"
variable="ProductID">QPA88</setv ariable> <setvariable time="2001-12-10 17:15:56.301"
variable="ProductQuantity">5000< /setvariable> <setvariable time="2001-12-10 17:15:56.301"
variable="ProductUnitPrice">3.50 </setvariable> <activatetask time="2001-12-10
17:15:56.311" taskid="2" name="Start the Publ ic Workflow"/> <setvariable time="2001-12-10
17:15:56.321" variable="PIPInput">[B@7803ee</s etvariable> </actions> <completed>2001-12-10
17:16:00.067</completed> </wlpirequest>
>
I found the response to the problem. I summarize the solution in the following point :
1- when you connect to a standalone content services server via the webservices api, you get a single String as cookie and to upload a document to server you use the same single cookie.
2- bu when you connect to cluster content services via the webservices api, you get an Array of String as cookies and to upload a document to server you need to transform the array of cookie into a single String cookie to be able to be authenticated by the http server, look to the following code
String cookie="";
for(int i=0;i < connection.getCookie().length;i++) {
cookie = cookie + connection.getCookie() +";"; -
Transport error: [IPT_HttpSendError] HTTP encounters send error :415
Hi,
I am working on webservice invocation from B2B. I am able to invoke the webservice using SOAP request.
I configured custom document over ebMS protocol and HTTP transport in B2B. When I invoke webservice from B2B i am getting the HTTPSendError.
B2B log:
2009.08.28 at 07:32:45:238: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking PackMessage
2009.08.28 at 07:32:45:239: Thread-10: B2B - (DEBUG) MimePackaging:pack:Enter
2009.08.28 at 07:32:45:244: Thread-10: B2B - (DEBUG) MimePackaging:createMimeMessage:Enter
2009.08.28 at 07:32:45:254: Thread-10: B2B - (DEBUG) MimePackaging:createMimeMessage:number of pc components: 1
2009.08.28 at 07:32:45:255: Thread-10: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Enter
2009.08.28 at 07:32:45:381: Thread-10: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.08.28 at 07:32:45:382: Thread-10: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.08.28 at 07:32:45:382: Thread-10: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Exit
2009.08.28 at 07:32:45:413: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...
2009.08.28 at 07:32:45:413: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
2009.08.28 at 07:32:45:667: Thread-10: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.08.28 at 07:32:45:668: Thread-10: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.08.28 at 07:32:45:668: Thread-10: B2B - (DEBUG) MimePackaging:createMimeMessage:Exit
2009.08.28 at 07:32:45:674: Thread-10: B2B - (DEBUG) MimePackaging:getMimeContent:Enter
2009.08.28 at 07:32:45:674: Thread-10: B2B - (DEBUG) MimePackaging:getMimeContent:Exit
2009.08.28 at 07:32:45:675: Thread-10: B2B - (DEBUG) MimePackaging:pack:Exit
2009.08.28 at 07:32:45:680: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking Pre-Transmit
2009.08.28 at 07:32:45:681: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Enter
2009.08.28 at 07:32:45:681: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Log & Update Database Tables
2009.08.28 at 07:32:45:681: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
2009.08.28 at 07:32:45:682: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create a Native Event Table row for outgoing Request Message
2009.08.28 at 07:32:45:682: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Enter
2009.08.28 at 07:32:45:684: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:insertNativeEvtTblRow msgInfo.id = 83667220
2009.08.28 at 07:32:45:685: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:protocl id set A
2009.08.28 at 07:32:45:685: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:insertNativeEvtTblRow protocolCollabId = null
2009.08.28 at 07:32:45:814: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Exit
2009.08.28 at 07:32:45:827: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
2009.08.28 at 07:32:45:828: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Thu Jan 01 00:00:00 GMT 1970
2009.08.28 at 07:32:45:828: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
2009.08.28 at 07:32:45:828: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
2009.08.28 at 07:32:45:829: Thread-10: B2B - (DEBUG) DBContext commit: Enter
2009.08.28 at 07:32:45:851: Thread-10: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.08.28 at 07:32:45:851: Thread-10: B2B - (DEBUG) DBContext commit: Leave
2009.08.28 at 07:32:45:851: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2009.08.28 at 07:32:45:852: Thread-10: B2B - (DEBUG) Protocol Name: HTTP
2009.08.28 at 07:32:45:852: Thread-10: B2B - (DEBUG) Version Name: 1.0
2009.08.28 at 07:32:45:853: Thread-10: B2B - (DEBUG) Endpoint: http://localhost:8003/RemoteTPPDI-TestWS-context-root/TestWSSoapHttpPort
2009.08.28 at 07:32:45:855: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://localhost:8003/RemoteTPPDI-TESTWS-CONTEXT-ROOT/TESTWSSOAPHTTPPORT
2009.08.28 at 07:32:45:855: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://localhost:8003/RemoteTPPDI-TestWS-context-root/TestWSSoapHttpPort
2009.08.28 at 07:32:45:856: Thread-10: B2B - (DEBUG)
Protocol = HTTP
Version = 1.0
Transport Header
Content-Transfer-Encoding:binary
ACTION_NAME:RemoteTPTestBA
DATE:Fri, 28 Aug 2009 07:32:44 GMT
TO:RemoteTP
DOCTYPE_NAME:RemoteTPDoc1
FROM_PARTY:HostTP
DOCTYPE_REVISION:1.0
FROM:HostTP
MESSAGE-ID:83667220
TO_PARTY:RemoteTP
Content-Type:text/plain; charset=us-ascii
Connection:close
Parameters
-- listing properties --
http.sender.timeout=0
2009.08.28 at 07:32:46:101: Thread-10: B2B - (DEBUG) scheme null userName null realm null
2009.08.28 at 07:32:46:339: Thread-10: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-415
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :415
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:793)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:598)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1013)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1754)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.08.28 at 07:32:46:339: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2009.08.28 at 07:32:46:340: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2009.08.28 at 07:32:46:340: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2009.08.28 at 07:32:46:340: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2009.08.28 at 07:32:46:341: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2009.08.28 at 07:32:46:341: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :415
[IPT_HttpSendError] HTTP encounters send error :415
2009.08.28 at 07:32:47:172: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2009.08.28 at 07:32:47:203: Thread-10: B2B - (DEBUG) Engine:notifyApp Enter
2009.08.28 at 07:32:47:212: Thread-10: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 722FB0840F821DDDE04400144F96EEDE
2009.08.28 at 07:32:47:212: Thread-10: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>83667220</correlationId>
<b2bMessageId>83667220</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendError] HTTP encounters send error :415
[IPT_HttpSendError] HTTP encounters send error :415
.</errorText>
<errorDescription>
<![CDATA[Machine Info: (HostTPis.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :415
[IPT_HttpSendError] HTTP encounters send error :415
. ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2009.08.28 at 07:32:47:214: Thread-10: B2B - (DEBUG) AQJMSCorrelationID = 722FB0840F821DDDE04400144F96EEDE
2009.08.28 at 07:32:47:240: Thread-10: B2B - (DEBUG) Engine:notifyApp Exit
2009.08.28 at 07:32:47:240: Thread-10: B2B - (DEBUG) DBContext commit: Enter
2009.08.28 at 07:32:47:247: Thread-10: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.08.28 at 07:32:47:247: Thread-10: B2B - (DEBUG) DBContext commit: Leave
2009.08.28 at 07:32:47:248: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2009.08.28 at 07:32:47:303: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Exchange Protocol: Generic Version 1.0
Transport Protocol: HTTP
Unique Message ID: 83667220
Trading Partner: RemoteTP
Message Signed: No
Payload encrypted: No
Information incompleteHi Anuj,
I changed to HTTP version 1.1 with SOAP version 1.1 and ebMS 2.0.
B2B log:
009.08.28 at 08:38:56:747: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage EBMSVersion: 2.0
2009.08.28 at 08:38:56:747: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage Trying to build soap message
2009.08.28 at 08:38:56:752: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage soap message built
2009.08.28 at 08:38:56:753: Thread-10: B2B - (DEBUG) EBMSExchangePlugin:resetInputStream not resetting stream source
2009.08.28 at 08:38:56:756: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage soap message - .1: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><env:Header><eb:MessageHeader env:mustUnderstand="1" eb:version="2.0"><eb:From><eb:PartyId/></eb:From></eb:MessageHeader></env:Header><env:Body/></env:Envelope>
2009.08.28 at 08:38:56:757: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage work area not null
2009.08.28 at 08:38:56:757: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage property name = AQJMSCorrelationID
2009.08.28 at 08:38:56:758: Thread-10: B2B - (DEBUG) EBMSExchangePlugin:resetInputStream not resetting stream source
2009.08.28 at 08:38:56:760: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage soap message - 1: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><env:Header><eb:MessageHeader env:mustUnderstand="1" eb:version="2.0"><eb:From><eb:PartyId eb:type="Generic Identifier">HostTP</eb:PartyId></eb:From></eb:MessageHeader></env:Header><env:Body/></env:Envelope>
2009.08.28 at 08:38:56:761: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage pingmsg = false pongMsg = false isStatusRequestMsg false isStatusResponseMsg false
2009.08.28 at 08:38:56:763: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage b2bMessageID is not null, using that 92775561
2009.08.28 at 08:38:56:763: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage checking to see if msg id is in the correct format
2009.08.28 at 08:38:56:763: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage msg id must have an '@' sign according to the ebms standard. Generating new id..
2009.08.28 at 08:38:56:765: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:isAckRequested Enter
2009.08.28 at 08:38:56:766: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:isAckRequested returning false
2009.08.28 at 08:38:56:766: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage request doesnt need to be signed
2009.08.28 at 08:38:56:766: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceName Enter
2009.08.28 at 08:38:56:767: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceName Returning service name:null
2009.08.28 at 08:38:56:767: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceName Enter
2009.08.28 at 08:38:56:767: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceName Returning service name:null
2009.08.28 at 08:38:56:767: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting service name = null
2009.08.28 at 08:38:56:768: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceType Enter
2009.08.28 at 08:38:56:768: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceType Returning service type:null
2009.08.28 at 08:38:56:768: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceType Enter
2009.08.28 at 08:38:56:769: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSServiceType Returning service type:null
2009.08.28 at 08:38:56:769: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting service type = null
2009.08.28 at 08:38:56:769: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSFromRole Enter
2009.08.28 at 08:38:56:770: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSFromRole Returning from role:null
2009.08.28 at 08:38:56:770: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSFromRole Enter
2009.08.28 at 08:38:56:770: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSFromRole Returning from role:null
2009.08.28 at 08:38:56:771: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting from role = null
2009.08.28 at 08:38:56:771: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting from overRideHeader = null
2009.08.28 at 08:38:56:771: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSToRole Enter
2009.08.28 at 08:38:56:771: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSToRole Returning to role:null
2009.08.28 at 08:38:56:772: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSToRole Enter
2009.08.28 at 08:38:56:772: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSToRole Returning to role:null
2009.08.28 at 08:38:56:772: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting to role = null
2009.08.28 at 08:38:56:773: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSActionName Enter
2009.08.28 at 08:38:56:773: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:getEBMSActionName Returning action name:null
2009.08.28 at 08:38:56:773: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage action name = RemoteTPTestBA
2009.08.28 at 08:38:56:774: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage refToMsgId is null
2009.08.28 at 08:38:56:774: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage setting manifest for message
2009.08.28 at 08:38:56:776: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage generated payloadId:cid:0A4DBD5D12360284C08000002F358500
2009.08.28 at 08:38:56:778: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage This is stream source mode
2009.08.28 at 08:38:56:779: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage xml payload <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://testws/types/">
<ns1:testElement>
<ns1:s>TEST</ns1:s>
</ns1:testElement>
</soap:Body>
</soap:Envelope>
2009.08.28 at 08:38:56:785: Thread-10: B2B - (DEBUG) EBMSExchangePlugin:resetInputStream resetting stream source
2009.08.28 at 08:38:56:786: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage final soap message: ------=_Part_2_3316214.1251448736779
Content-Type: text/xml;charset=UTF-8
<?xml version="1.0" encoding="UTF-8" ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><env:Header><eb:MessageHeader env:mustUnderstand="1" eb:version="2.0"><eb:From><eb:PartyId eb:type="Generic Identifier">HostTP</eb:PartyId></eb:From><eb:To><eb:PartyId eb:type="Generic Identifier">RemoteTP</eb:PartyId></eb:To><eb:CPAId>RemoteTPTest</eb:CPAId><eb:ConversationId>HostTP@0A4DBD5D12360284BFC000002F358200</eb:ConversationId><eb:Service/><eb:Action>RemoteTPTestBA</eb:Action><eb:MessageData><eb:MessageId>HostTP@0A4DBD5D12360284BFC000002F358200</eb:MessageId><eb:Timestamp>2009-08-28T08:38:56.000Z</eb:Timestamp></eb:MessageData></eb:MessageHeader></env:Header><env:Body><eb:Manifest eb:id="oracle0A4DBD5D12360284C07000002F358300" eb:version="2.0"><eb:Reference eb:id="payloadref-0A4DBD5D12360284C07000002F358400" xlink:href="cid:0A4DBD5D12360284C08000002F358500" xlink:type="simple"/></eb:Manifest></env:Body></env:Envelope>
------=_Part_2_3316214.1251448736779
Content-Type: text/xml
Content-Id: <0A4DBD5D12360284C08000002F358500>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://testws/types/">
<ns1:testElement>
<ns1:s>TEST</ns1:s>
</ns1:testElement>
</soap:Body>
</soap:Envelope>
------=_Part_2_3316214.1251448736779--
2009.08.28 at 08:38:56:786: Thread-10: B2B - (DEBUG) EBMSExchangePlugin:resetInputStream resetting stream source
2009.08.28 at 08:38:56:791: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage adding headers
2009.08.28 at 08:38:56:792: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage adding content type header
2009.08.28 at 08:38:56:792: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage adding content type header value is multipart/related;type="text/xml";boundary="----=_Part_3_1702949.1251448736786";start="<ebxheader-0A4DBD5D12360284BEB000002F358100>"
2009.08.28 at 08:38:56:792: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:createMessage Exit
2009.08.28 at 08:38:56:792: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking PackMessage
2009.08.28 at 08:38:56:793: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking Pre-Transmit
2009.08.28 at 08:38:56:793: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Enter
2009.08.28 at 08:38:56:794: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Log & Update Database Tables
2009.08.28 at 08:38:56:795: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
2009.08.28 at 08:38:56:795: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create a Native Event Table row for outgoing Request Message
2009.08.28 at 08:38:56:795: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Enter
2009.08.28 at 08:38:56:796: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:insertNativeEvtTblRow msgInfo.id = HostTP@0A4DBD5D12360284BFC000002F358200
2009.08.28 at 08:38:56:797: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:protocl id set A
2009.08.28 at 08:38:56:797: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:insertNativeEvtTblRow protocolCollabId = HostTP@0A4DBD5D12360284BFC000002F358200
2009.08.28 at 08:38:56:820: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Exit
2009.08.28 at 08:38:56:827: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
2009.08.28 at 08:38:56:827: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Thu Jan 01 00:00:00 GMT 1970
2009.08.28 at 08:38:56:828: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
2009.08.28 at 08:38:56:828: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
2009.08.28 at 08:38:56:829: Thread-10: B2B - (DEBUG) DBContext commit: Enter
2009.08.28 at 08:38:56:831: Thread-10: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.08.28 at 08:38:56:832: Thread-10: B2B - (DEBUG) DBContext commit: Leave
2009.08.28 at 08:38:56:832: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2009.08.28 at 08:38:56:832: Thread-10: B2B - (DEBUG) Protocol Name: HTTP
2009.08.28 at 08:38:56:833: Thread-10: B2B - (DEBUG) Version Name: 1.1
2009.08.28 at 08:38:56:833: Thread-10: B2B - (DEBUG) Endpoint: http://10.77.189.109:8003/RemoteTPPDI-TestWS-context-root/TestWSSoapHttpPort
2009.08.28 at 08:38:56:834: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://10.77.189.109:8003/RemoteTPPDI-TESTWS-CONTEXT-ROOT/TESTWSSOAPHTTPPORT
2009.08.28 at 08:38:56:835: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://10.77.189.109:8003/RemoteTPPDI-TestWS-context-root/TestWSSoapHttpPort
2009.08.28 at 08:38:56:838: Thread-10: B2B - (DEBUG)
Protocol = HTTP
Version = 1.1
Transport Header
DOCTYPE_NAME:RemoteTPDoc1
SOAPAction:"ebXML"
TO_PARTY:RemoteTP
DOCTYPE_REVISION:1.0
ACTION_NAME:RemoteTPTestBA
FROM_PARTY:HostTP
Content-Type:multipart/related;type="text/xml";boundary="----=_Part_3_1702949.1251448736786";start="<ebxheader-0A4DBD5D12360284BEB000002F358100>"
Content-Length:1860
Parameters
-- listing properties --
http.sender.timeout=0
2009.08.28 at 08:38:56:840: Thread-10: B2B - (DEBUG) scheme null userName null realm null
2009.08.28 at 08:38:56:866: Thread-10: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-500
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:793)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:598)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1013)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1754)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.08.28 at 08:38:56:866: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2009.08.28 at 08:38:56:867: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2009.08.28 at 08:38:56:867: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2009.08.28 at 08:38:56:867: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2009.08.28 at 08:38:56:868: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2009.08.28 at 08:38:56:868: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.
[IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.
2009.08.28 at 08:38:56:885: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2009.08.28 at 08:38:56:887: Thread-10: B2B - (DEBUG) Engine:notifyApp Enter
2009.08.28 at 08:38:56:895: Thread-10: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 72309D4B835925B9E04400144F96EEDE
2009.08.28 at 08:38:56:896: Thread-10: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>92775561</correlationId>
<b2bMessageId>92775561</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.
[IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.</errorText>
<errorDescription>
<![CDATA[Machine Info: (dgia21a.HostTPis.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>.
[IPT_HttpSendError] HTTP encounters send error :500
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://testws/types/"><env:Body><env:Fault><faultcode>env:MustUnderstand</faultcode><faultstring>SOAP must understand error: {http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd}MessageHeader</faultstring></env:Fault></env:Body></env:Envelope>. ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2009.08.28 at 08:38:56:897: Thread-10: B2B - (DEBUG) AQJMSCorrelationID = 72309D4B835925B9E04400144F96EEDE
2009.08.28 at 08:38:56:929: Thread-10: B2B - (DEBUG) Engine:notifyApp Exit
2009.08.28 at 08:38:56:930: Thread-10: B2B - (DEBUG) DBContext commit: Enter
2009.08.28 at 08:38:56:933: Thread-10: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.08.28 at 08:38:56:934: Thread-10: B2B - (DEBUG) DBContext commit: Leave
2009.08.28 at 08:38:56:934: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2009.08.28 at 08:38:56:936: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Exchange Protocol: ebMS Version 2.0
Transport Protocol: HTTP
Unique Message ID: HostTP@0A4DBD5D12360284BFC000002F358200
Trading Partner: RemoteTP
Message Signed: No
Payload encrypted: No
Information incomplete -
Transport error: [IPT_HttpSendError] HTTP encounters send error :503
Hi All,
I am working with Acme and GlobalChips assignment. I configured the two using the steps mentioned. I have a BPEL process that enqueues a message to the IP_OUT_QUEUE. When i go to oracle b2b reports i get the following error
I checked to see that the RMI ports are correct and that the b2b/transportServlet is up and running. I also verified that the hostnames of the two machines are correct. Even replaced them with ip addresses to remove anything to do with DNS. But i still get the same error. Please can someone help me resolve this issue?
Transport error: [IPT_HttpSendError] HTTP encounters send error :503
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>No Response from Application Web Server</title>
</head>
Both machines can ping each other. B2B Log file shows one more error
2008.08.06 at 20:27:23:197: Thread-10: Repository - (INFORMATION) Entering Use Case: queryBusinessMessage
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@f1916f
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@1049d3 oracle.tip.repos.core.driver.CatalogDriver@3b4b1e
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@f1916f
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@1049d3 oracle.tip.repos.core.driver.CatalogDriver@3b4b1e
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) MetaCLASS manager == oracle.tip.model.metadata.CatalogMetaManager@f1916f
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) THIS THIS == oracle.tip.model.metadata.CatalogMetaClass@5d855f
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@1049d3 oracle.tip.repos.core.driver.CatalogDriver@3b4b1e
2008.08.06 at 20:27:23:197: Thread-10: Repository - (INFORMATION) CatalogDriver.runQuery() select ID , CLASSTYPE , NOTM , ISSEEDED , CFG , protocolmessageid , errorseverity , acknowledgemode , businessactionrevision , errorlevel , collaborationrevision , direction , sendtimestamp , groupcontrolnumber , collaborationname , correlationid , remainingretry , attachment , errortext , messagetype , replymode , errorcode , currentstate , acknowledgetype , b2bmessageid , receivetimestamp , messagedatetime , protocolworkarea , protocolworkarea_clob , state , timetoack , txnsetcontrolnumber , payload , payload_clob , interchangecontrolnumber , errordescription , errordescription_clob , businessactionname , protocolcollaborationid, collaborationinstance, wiremessage, receiveridentification, payloadstorage, refertobusinessmessage, exchangeprotocolrevision, sender, senderidentification, documentprotocolrevision, agreement, attachmentstorage, businessaction, businesstransactioninstance, recordinstance from TIP_BusinessMessage_ra t where ( b2bmessageid= ? )
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) CatalogDriver.setBindVariables():
2008.08.06 at 20:27:23:197: Thread-10: Repository - (DEBUG) Bind Variable : index = 2 value = 0A0A0A0A11B994569BE0000020F46900
2008.08.06 at 20:27:24:055: Thread-10: Repository - (INFORMATION) Exiting Use Case: queryBusinessMessage
2008.08.06 at 20:27:27:004: Thread-10: B2B - (ERROR) Error -: AIP-50025: Repository error
at oracle.tip.adapter.b2b.msgproc.DbAccess.formExtB2bMsg(DbAccess.java:1179)
at oracle.tip.adapter.b2b.engine.Engine.formExtB2BMsg(Engine.java:2049)
at oracle.tip.adapter.b2b.engine.Engine.messageRetry(Engine.java:1949)
at oracle.tip.adapter.b2b.engine.Engine.handleTimeoutEvent(Engine.java:1924)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1744)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:454)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:326)
at java.lang.Thread.run(Thread.java:534)
2008.08.06 at 20:27:27:004: Thread-10: B2B - (ERROR) Error -: AIP-50025: Repository error
at oracle.tip.adapter.b2b.msgproc.DbAccess.formExtB2bMsg(DbAccess.java:1179)
at oracle.tip.adapter.b2b.engine.Engine.formExtB2BMsg(Engine.java:2049)
at oracle.tip.adapter.b2b.engine.Engine.messageRetry(Engine.java:1949)
at oracle.tip.adapter.b2b.engine.Engine.handleTimeoutEvent(Engine.java:1924)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1744)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:454)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:326)
at java.lang.Thread.run(Thread.java:534)
2008.08.06 at 20:27:27:004: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:formExtB2BMsg Exit
2008.08.06 at 20:27:27:004: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:messageRetry Can't find ExtB2BMessage
2008.08.06 at 20:27:27:004: Thread-10: B2B - (DEBUG) DBContext commit: Enter
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@f1916f
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@1049d3 oracle.tip.repos.core.driver.CatalogDriver@3b4b1e
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) CatalogTransaction.commit():
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) commiting changes
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) CatalogTransaction.commit():
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) Dirty list = []
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) CatalogTransaction.callWriteObjects() :
2008.08.06 at 20:27:27:004: Thread-10: Repository - (DEBUG) Call write object List for objects = []
2008.08.06 at 20:27:27:097: Thread-10: Repository - (DEBUG) CatalogTransaction.commit():
2008.08.06 at 20:27:27:097: Thread-10: Repository - (DEBUG) Database COMMIT doneRe: Globalchips to Acme Communication Error
-
Hi,
We deploying SAP CRM Sales 2.0 , we have generated ESDMA Bundles and deployed in SUP 2.0 and checked for the testing, unfortunate we getting 503 Transport Error , Please suggests.
Regards
ApsDear Aps,
Please check the JSPM and Default trace log to find whether SAP CRM Sales 2.0 software components are deployed properly or not.
Best Regards
Arun Jaiswal -
greeting to everyone , i am using NetBeans version 5.5.1 .
I want to compile a program , its called "compile.java". I have created a project that it is named Compilers.
so i have it at directory C:\Documents and Settings\MAX\Net Beans Projects\Compilers .
"compile.java" has some imports (imports from other programs that are .class files) that it cant find with netbeans , i have put the .class files that are needed at C:\Documents and Settings\MAX\Net Beans Projects\Compilers\
I have tried for hours to compile it but i cant compile it with netbeans ! I have tried everything .
i can compile it from command line with :
C:\Documents and Settings\MAX\Net Beans Projects\Compilers>javac -classpath . "src/compilers/Compile.java"
or even with Jcreator (with a simple click) , but i cant compile it with netbeans !
so what can i do ?
thanks,i found it ,
i moved all .class files at C:\Documents and Settings\MAX\Net Beans Projects\Compile\build\classes and it now works.
I did this also before , but it didnt work (i think netbeans silently corrupted the projected in order to sabotaze me :( so creating a new project and put files in \build\classes will fix this ), i guess netbeans is full of bugs .
thanks
cheers, -
No transport error while consuming WCF service in a REST way
Hi,
Here is a small article on when we usually face No Transport error and how to get rid of it.
I recently worked on a sample application using “app for Office” (New in Visual Studio 11.0)
What is “app for Office”?
An app for Office is basically a webpage that is hosted inside an Office client application. You can use apps to extend the functionality of a document, email message, meeting request, or appointment. Apps
can run in multiple environments and clients, including rich Office desktop clients, Office Web Apps, mobile browsers, and also on-premises and in the cloud.
What can an app for Office do?
An app for Office can do pretty much anything a webpage can do inside the browser, such as the following:
Provide an interactive UI and custom logic through JavaScript. (Develop UI using HTML and JavaScript)
Use JavaScript frameworks such as jQuery.
Connect to REST endpoints and web services via HTTP and AJAX.
Run server-side code or logic, if the page is implemented using a server-side scripting language such as ASP or PHP.
As “app for Office” doesn’t have an option to write server side scripting (unlike code behind or in-line coding feature in ASP.NET/MVC) we will have to go for web service or WCF service and consume the service
using any JavaScript framework like Jquery.
I wrote a simple WCF service to hook up with server side code and consumed the service using Jquery as follows
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://localhost/MyService.svc/rh/data?id=" + $('#sampleType').val(),
processData: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
crossDomain: true,
success: function (data) {
alert(data)
error: function (xhr, status, error) {
alert(error);
I encountered an error saying “No Transport” when I executed the client application.
I did some investigation on this and found out the root cause that cross-domain request was disabled. But I was really not sure whether it was at my WCF service end or “app for Office” client end. I added
Client Access policy and Cross-domain-policy xml files to WCF service in order to enable cross-domain request
so that service will accept any type requests sent form different domains.
Client Access policy
<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource include-subpaths="true" path="/"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
Cross-domain-policy
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
Both the policies should be in different XML files
But this didn’t solve my problem. After a little bit more investigation I found exactly where and how to enable-cross domain requests.
Solution
We need to enable cross-domain requests in environments that do not support cross-domain requests.
“Cors is equal to true if a browser can create an XMLHttpRequest object and if thatXMLHttpRequest
object has a withCredentials property. To enable cross-domain requests in environments that do not support cors yet but do allow cross-domain XHRrequests (windows gadget, etc), set $.support.cors = true;”
You just have to add jQuery.support.cors = true; in your client scripting and it works perfectly fine.
[Cors- Cross-Origin Resource Sharing]
A simple example:
$.support.cors = true;
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://localhost/MyService.svc/rh/data?id=" + $('#sampleType').val(),
processData: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
crossDomain: true,
success: function (data) {
alert(data)
error: function (xhr, status, error) {
alert(error);
Hope this will be helpful.
ThanksThis is very good technich to resolve the problem. but this is not working in Google chrome or Firfox . can any one help me.
Maybe you are looking for
-
Can I get footnotes to be on the Pages toolbar?
Hi all, I write a lot of papers for my major and it is required to be the Chicago format which requires footnotes. I have been using open office for the longest time to write all my papers, but pages just got a new update and I figured since I origi
-
I am pulling an .xml from a ready folder into XI then sending it to BI via proxy. Once it is in the BI box it shows that the message is successful however i do not receive any data in the PSA. Is there some kind of config on the BI side that has to
-
I am running OSX Lion 10.78.4 and the computer will no longer go into sleep mode when I close the cover. In system preferences I can no longer find the option that allows for this energy saving feature. What happened to this option and why is this no
-
Hi Friends , I have a reference table Ref_table_code, Ref_table_code ID Table_name Related_table Code Status, Description Definition ------ e.t.c Table name is like a domain , and you can have multiple codes for a table_name. The requirement is to cr
-
EHP4-Upgrade: Errors in phase "TEST-IMPORT"
Hi! During the upgrade of SAP ECC 6.0 to EHP4 we have the following errors in the phase "TEST_IMPORT". Software-Package u201ESAPKH60401u201C Function SERIAL_COPY_HU_MM (IPW3|11) does not fit into the existing function group((IPW1|65)) Function SERNR_