Proxy Client
Hi
Has anyone created web services in Netweaver 2004s to access BAPIs in R/3 4.7 without XI being part of the landscape. Can anyone share with me the step by step Configuration needed to have hese clients communicate and setting up the Integration builder.
Kind Regards.
Points up for grabs
try out this link .
You want ABAP proxies only ...Am I right ?
<a href="/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies for ABAP proxies</a>
<a href="/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments">Proxy 2</a>
<b>
Regards ,
Parag</b>
Similar Messages
-
Error while trying to run a secure web proxy client
Hi,
I was able to generate a secure proxy client using JDev10.1.3 and I'm able to open the jks file using the keytool gui client. The jks file does not appear to be corrupt or tampered with in anyway. However, when I try to run the secure proxy client, I'm getting the following error:
Nov 28, 2006 12:42:57 PM oracle.security.jazn.util.KeyStoreUtil loadKeystore
SEVERE: Error reading keystore data
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
at java.security.KeyStore.load(KeyStore.java:1150)
at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:156)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
java.lang.RuntimeException: Invalid port config : Error reading keystore data
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Error reading keystore data
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
at java.security.KeyStore.load(KeyStore.java:1150)
at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:149)
at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
java.lang.RuntimeException: Invalid port config : Error reading keystore data
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
Process exited with exit code 0.
I'm using X509 to authentic.
Please help.
Thanks in advance for your quick response.
Regards,
David RI am using a single self signed certificate created using keytool on both the client and server end.
Tried this sample code to fetch the WSDL of my webservice. Successfully did this.
===========================================================
import HTTPClient.HTTPConnection;
import HTTPClient.HTTPResponse;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import java.io.IOException;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) {
if (args.length < 4) {
System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
"[wallet] [password]");
System.exit(-1);
String hostname = args[0].toLowerCase();
int port = Integer.decode(args[1]).intValue();
String walletPath = args[2];
String password = args[3];
HTTPConnection httpsConnection = null;
OracleSSLCredential credential = null;
try {
httpsConnection = new HTTPConnection("https", hostname, port);
} catch (IOException e) {
System.out.println("HTTPS Protocol not supported");
System.exit(-1);
try {
credential = new OracleSSLCredential();
credential.setWallet(walletPath, password);
} catch (IOException e) {
System.out.println("Could not open wallet");
System.exit(-1);
httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
// httpsConnection.setSSLCredential(credential);
System.out.println("Set credentials and cipher suite");
try {
httpsConnection.connect();
System.out.println("Connected!!!!!");
} catch (IOException e) {
System.out.println("Could not establish connection");
e.printStackTrace();
System.exit(-1);
//javax.servlet.request.
X509Certificate[] peerCerts = null;
/* try {
SSLSession sslSession = httpsConnection.getSSLSession();
System.out.println("Getting session.........");
httpsConnection.connect();
}catch(Exception e){
e.printStackTrace();
System.out.println("null Getting session.........");
System.exit(-1);
try{
peerCerts =
(httpsConnection.getSSLSession()).getPeerCertificateChain();
} catch (javax.net.ssl.SSLPeerUnverifiedException e) {
System.err.println("Unable to obtain peer credentials");
e.printStackTrace();
System.exit(-1);
String peerCertDN =
peerCerts[peerCerts.length - 1].getSubjectDN().getName();
peerCertDN = peerCertDN.toLowerCase();
if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
System.out.println("Certificate for " + hostname +
" is issued to " + peerCertDN);
System.out.println("Aborting connection");
System.exit(-1);
try {
HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
System.out.println("Server Response: ");
System.out.println(rsp.getText());
System.out.println("Server Response: ");
System.out.println(rsp.getText());
} catch (Exception e) {
System.out.println("Exception occured during Get");
e.printStackTrace();
System.exit(-1);
=====================================================
But on using the client proxy generated for my webserice using JDeveloper and then setting the system properties such as
System.setProperty("javax.net.ssl.keyStore",keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
System.setProperty("javax.net.ssl.trustStore", trustStore);
System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
System.setProperty("javax.net.ssl.keyStoreType","JKS");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
I get the following exception:
<MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
Please if anybody can help me with this!!!!
Thanks in advance
Nilesh -
Is there a way to force which wifi network and proxy clients connect to from WGM?
is there a way to force which wifi network and proxy clients connect to from WGM?
Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Cheers, Tom -
Web service proxy client generation fails
Hello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
TomHello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
Tom -
Web service proxy client from Oracle DB
I need to call an external webservice from oracle db... but this web service does not support "SOAP with attachments" and its specification says that we have to develop a J2EE proxy client to access this web service, this still could be done in a stored procedure, loading jdeveloper generated code in java?, I know that with Jdeveloper I can generate a 'web service stub/skeleton' but how make this stub accesible from oracle with PL/SQL? is this possible?
thanks in advanceI need to call an external webservice from oracle db... but this web service does not support "SOAP with attachments" and its specification says that we have to develop a J2EE proxy client to access this web service, this still could be done in a stored procedure, loading jdeveloper generated code in java?, I know that with Jdeveloper I can generate a 'web service stub/skeleton' but how make this stub accesible from oracle with PL/SQL? is this possible?
thanks in advance -
Web service proxy client with client cert cause SSLSessionNotFoundErr
Hi,
I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error:
WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
Web service deployed on OASHi,
i am trying to invoke from JDeveloper (10.1.3) a CRM On Demand's Web Service and I hava the same problem:
ADVERTENCIA: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:96)
at testerlast.ContactClient.contactInsert(ContactClient.java:88)
at testerlast.ContactClient.main(ContactClient.java:69)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:80)
... 2 more
To do the invocation I have done a proxy to consume this Web Service, with the follow main:
public static void main(String[] args) {
try {
testerlast.ContactClient myPort = new testerlast.ContactClient();
System.out.println("calling " + myPort.getEndpoint());
myPort.setUsername(nameUser);
myPort.setPassword(password);
ListOfContactData llista = new ListOfContactData();
ContactData[] contacts=new ContactData[2];
ContactData contact=new ContactData();
ContactInsert_Input input=new ContactInsert_Input();
// Login WS HTTPS
String idSesion=connexioWS_CRM.logon(URL,nameUser,password);
// Add contact
for (int i = 0; i < contacts.length; i++) {
contact.setId("ProvaWSCRM"+i);
contact.setContactFirstName("JDeveloper"+i);
contact.setContactLastName("prove"+i);
contact.setCellularPhone("77777777"+i);
contact.setDescription("Add contact with Id:"+contact.getId());
contacts=contact;
System.out.println("Id:"+contacts[i].getId()+" firstName:"+contacts[i].getContactFirstName()+" lastName:"+contacts[i].getContactLastName());
llista.setContact(contacts);
input.setListOfContact(llista);
input.setEcho("off");
System.out.println("Pwd:"+myPort.getPassword()+" Port:"+myPort._port+" endpoint:"+myPort.getEndpoint()+" user:"+myPort.getUsername());
myPort.contactInsert(llista,"LIC","Broadset","OFF");
// Logout en WS (HTTPS)
connexioWS_CRM.logoff(URL, idSesion);
} catch (Exception ex) {
ex.printStackTrace();
What's wrong? Any idea?
Thank you
Edited by: user12085357 on 31-oct-2009 10:39 -
Hi,
I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
2) Made a test with a browser, it worked OK
3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
--- Now make it work on SSL----
4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
6) Test web service from browser on https and worked OK.
7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
Questions----
1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
Thanks in advance
J.Hi,
Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
Thanks a lot in advance
Nilesh -
Error while testing proxy client for FinancialUtilService
Hi
While testing my proxy client from jdev, I am receiving the below error. Attaching the code from my HTTPPortClient.Java file for your reference.
Did anything wrong while invoking uploadFileToUCM service? Can you please suggest ?
C:\Oracle\Middleware\jdk160_24\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\GenericApplication\.adf;C:\JDeveloper\mywork\GenericApplication\Project1\classes;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient
inside invokeservice
wsdlDoc: https://adc-fap0757-fin.oracledemos.com/finFunShared/FinancialUtilService?wsdl
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
INFO: WSM-09004 Component auditing cannot be initialized.
Finished invokeservice
inside invokeupload
INFO: Recipient Alias property not configured in the policy. Defaulting to encrypting with signers certificate.
com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.ServiceException: JBO-FND:::FND_CMN_SYS_ERR: <MESSAGE><NUMBER></NUMBER><TEXT>An application error occurred.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:141)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:140)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:74)
Process exited with exit code 0.
Thanks
SamySo the documented approach results in corrupted file ? Can you confirm:
Ans) Yes
How was the zip file created, is it compressed ? Yes
If you encode / decode locally with your logic (without any call to WS) does the resulting zip work with the same tool that gives the corruption error ? \Yes, It is not giving any error.
How are you accessing the file from UCM ?
Navigate to below page in Fusion apps and we will be able to search for the uploaded file. Click on the file name , we will be able to open or save it to local system. When I try to open it ,it says invalid file.
Login To Fusion Apps -> Navigator -> Tools -> File Import and export
Can you provide the code you use for the content encoding / decoding (make sure no passwords or URLs are included) ?
Please check the below code in Bold for specific logic for encoding, which is same as the documented approach.
private String invokeUpload() {
System.out.println("inside invokeupload");
ObjectFactory objectFactory = new ObjectFactory();
DocumentDetails documentDet = new DocumentDetails();
String fileNameWithPath = "C:\\PozSuppliersInt.zip";
String fileName = "PozSuppliersIntSamy2912_9.zip";
String contentType = "zip";
String title = "Suppliers2912";
String ucmAccountInfo = "prc$/supplier$/import$";
String ucmSecurityGroup = "FAFusionImportExport";
String docname = "PozSuppliersIntSamy2912_9.zip";
File file = new File(fileNameWithPath);
byte[] content = null;
try{
content = Base64.encode(loadFile(file));
catch(IOException e){
System.out.println("Exception while encoding file " + e.getMessage());
System.out.println("Encoded String1: " + content);
documentDet.setContent(objectFactory.createDocumentDetailsContent(content));
documentDet.setFileName(objectFactory.createDocumentDetailsFileName(fileName));
documentDet.setContentType(objectFactory.createDocumentDetailsContentType(contentType));
documentDet.setDocumentTitle(objectFactory.createDocumentDetailsDocumentTitle(title));
documentDet.setDocumentAuthor(objectFactory.createDocumentDetailsDocumentAuthor(username));
documentDet.setDocumentSecurityGroup(objectFactory.createDocumentDetailsDocumentSecurityGroup(ucmSecurityGroup));
documentDet.setDocumentAccount(objectFactory.createDocumentDetailsDocumentAccount(ucmAccountInfo));
documentDet.setDocumentName(objectFactory.createDocumentDetailsDocumentName(docname));
UploadFileToUcm uploadFileToUcm = new UploadFileToUcm();
uploadFileToUcm.setDocument(documentDet);
String retStatus = null;
try {
retStatus = financialUtilService.uploadFileToUcm(documentDet);
System.out.println("File successfully Uploaded.Status is:" + retStatus);
output = "File successfully Uploaded.Status is:" + retStatus +". ";
} catch (Exception e) {
e.printStackTrace();
return retStatus;
private static byte[] loadFile(File file) throws IOException {
InputStream is = new FileInputStream(file);
long length = file.length();
if (length > Integer.MAX_VALUE) {
System.out.println("File is too large ");
byte[] bytes = new byte[(int)length];
int offset = 0;
int numRead = 0;
while (offset < bytes.length &&
(numRead = is.read(bytes, offset, bytes.length - offset)) >=
0) {
offset += numRead;
if (offset < bytes.length) {
// throw new IOException("Could not completely read file " + file.getName());
System.out.println("Could not completely read file: " + file.getName());
is.close();
return bytes; -
I am trying to invoke FinancialUtilService using HTTP proxy client. I am getting below error while i am trying to invoke this service. Using FusionServiceTester i am able to invoke service and upload file to UCM. Using oracle.ucm.fa_client_11.1.1.jar also i am able to upload file to UCM without any issue. But using HTTP proxy client i am facing below error. Can anyone please help me. PFA code i am using to invoke this service.
javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:299)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:273)
Process exited with exit code 0.
Message was edited by: Oliver Steinmeier
Removed attachmentHi Jani,
Thanks for your reply.
I am new to webservices and we are trying to do a POC on invoking FinancialUtilService using HTTP proxy client. I am following steps mentioned in attached pdf section "Invoking FinancialUtil Service using Web Service Proxy Client". I have imported certificate using below command.
keytool -import -trustcacerts -file D:\Retek\Certificate.cer -alias client -keystore D:\Retek\default-keystore.jks -storepass welcome1
Invoking
SecurityPolicyFeature[] securityFeature =
new SecurityPolicyFeature[] { new
SecurityPolicyFeature("oracle/wss11_saml_token_with_message_protection_client_policy")};
financialUtilService_Service = new FinancialUtilService_Service();
FinancialUtilService financialUtilService= financialUtilService_Service.getFinancialUtilServiceSoapHttpPort(securityFeature);
// Get the request context to set the outgoing addressing properties
WSBindingProvider wsbp = (WSBindingProvider)financialUtilService;
WSEndpointReference replyTo =
new WSEndpointReference("https://efops-rel91-patchtest-external-fin.us.oracle.com/finFunShared/FinancialUtilService", WS_ADDR_VER);
String uuid = "uuid:" + UUID.randomUUID();
wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "fin_user1");
wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY, "Welcome1");
wsbp.getRequestContext().put(ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS,"service");
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_LOCATION, "D:/Retek/default-keystore.jks");
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, "welcome1" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_PASSWORD, "password" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_PASSWORD, "password" );
SEVERE: WSM-00057 The certificate, client, is not retrieved.
SEVERE: WSM-00137 The encryption certificate, client, is not retrieved due to exception oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved..
SEVERE: WSM-00161 Client encryption public certificate is not configured for Async web service client
SEVERE: WSM-00005 Error in sending the request.
SEVERE: WSM-07607 Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.
SEVERE: WSM-07602 Failure in WS-Policy Execution due to exception.
SEVERE: WSM-07501 Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.client, application=null, composite=null, modelObj=FinancialUtilService, policy=oracle/wss11_saml_token_with_message_protection_client_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates.
oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:173)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:393)
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:239)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
Caused by: oracle.wsm.security.SecurityException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:979)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.build(Wss11X509TokenProcessor.java:206)
at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:164)
... 30 more
Caused by: oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved.
at oracle.wsm.security.jps.WsmKeyStore.getJavaCertificate(WsmKeyStore.java:534)
at oracle.wsm.security.jps.WsmKeyStore.getCryptCert(WsmKeyStore.java:570)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:977)
... 32 more
SEVERE: WSMAgentHook: An Exception is thrown: WSM-00161 : Client encryption public certificate is not configured for Async web service client
File upload failed
javax.xml.ws.WebServiceException: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:231)
at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
Caused by: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:248)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
... 19 more -
Missing asyn abap proxy client message in ECC
Hi,
I have a asyn scenario which an abap program will send data from ECC to PI using abap proxy client. My problem is i notice some of the message was no send to PI. Checked in PI SXMB_MONI no message was found. Any idea where the message was stuck? I check on smq1 in ECC also found nothing in the queue.
Thanks.Hi ,
KIndly check with the abap program if its thrwing any dump . If every thing is fine with ABAP program then might be its issue of RFC destination . check with transaction SPROXY are u able to connect and your sender interface is reflecting there if yes then double click on your interface open the proxy andthen click on GOto and click on connection test if nay issue is in connection then it will display the error here .might be some rfc DESTINATION is missing or authnetication error .
Regards,
Saurabh -
Debug/Trace a proxy client?
Hi,
I've created a proxy client and logical port to consume a web service in SAP 6.40. However, I'm getting an error upon testing from SAP that one required field in missing; I'm not getting any error when I test from WFETCH.
Is there any way to decode the xml soap error messages? Is there a way to do a trace?
There are couple of checkboxes in the logical port for increasing trace and logging, but there are those file??
Thank you all for your help!Hi,
use /h is another dubugging methos run the total program in debugging mode and check total program.
and check below link for sql trace
/people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
Regards,
Madhu -
Java proxy client logical port transport to Q and prod issue in target addr
Hi All,
I have a java proxy client having a logical port (configured using NWDS) to consume a web service in the provider system.
In the logical port, I have given target address, and logical port name. While moving this client proxy NWDI dev track to Q and prod,
how do I change this target address to point to Q and prod respectively. In other words, even though I am using Visual admin to configure the destination url for the logical port, to point to Q and prod, its still referring to the dev environment provider service after moving the proxy client to Q and prod. What is the suggested approach to take care of this issue
Thx
mikeHi Michael,
I can only help from that point of view that I believe this question belongs to the forum
Service-Oriented Architecture (SOA) and SAP
Please try to raise this question there.
Thanks and Regards,
Ervin -
Invoke Bpel Processes via API or Web Service Proxy Clients
Hi all,
I was wondering if any of the felow community members have found information regarding best practices in invoking bpel processes from a user interface other than ADF Faces?
Currently I'm using Web Service Proxy Clients to invoke my bpel processes, but I was wondering if it would be better to use the BPEL API?
Considerations I have regarding these 2 different approaches are mostly tight integration when using the BPEL API, because this means I have to port the BPEL (Oracle Code) inside my UI-application which isn't the case when using Web Service Proxy Clients.
What is the best way to instantiate bpel processes from a user interface, is that by using web service proxy clients or by using the bpel i
nvocation API?
Kind regards,
NathalieHi Marc,
These were my considerations as well, but I was looking for some kind of benchmarking regarding these 2 approaches. What's best practices when hooking up bpel inside UI Applications regarding performance, future-proofness (SOA Grid, SOA Composites, ...) etc.
I think I need to discuss this with the product team to make sure I'm taking the wright decisions.
Kind regards,
Nathalie -
"SOAP:Fault" in scenario with ABAP proxy client
Hello,
I realized the scenario CRM40_Basis620(ABAP proxy client)->XI->File.
XI:
The sender communication channel is a XI adapter (Parameters: HTTP 1.0, XI 3.0, Integration Server, Security profile unchecked, Security level - HTTP).
CRM:
The proxy generation is ok.
SLDCHECK is ok.
All RFC destinations are ok.
APPINT_200_620 for CRM was installed and configured well (I think so, but...).
When I ran the ABAP proxy client on CRM, sxmb_moni(CRM) returned the text for the XML Message (Display-CallIntegrationServer-Payloads-TraceDocument):
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <SAP:TraceHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
<Trace level="1" type="T">****************************************************</Trace>
<Trace level="1" type="T">* *</Trace>
<Trace level="1" type="T">* *</Trace>
<Trace level="1" type="T">XMB entry processing</Trace>
<Trace level="1" type="T">system-ID = EST</Trace>
<Trace level="1" type="T">client = 300</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = BABKIN_RA</Trace>
<Trace level="1" type="Timestamp">2007-08-06T13:55:12Z</Trace>
<Trace level="1" type="T">* *</Trace>
<Trace level="1" type="T">* *</Trace>
<Trace level="1" type="T">****************************************************</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />
- <!-- ************************************
-->
<Trace level="1" type="T">Message-GUID = DC4424A659314CF18F500002A541D0E7</Trace>
<Trace level="1" type="T">PLNAME = SENDER</Trace>
<Trace level="1" type="T">QOS = EO</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC" />
- <!-- ************************************
-->
<Trace level="1" type="T">Get definition of external pipeline = SENDER</Trace>
<Trace level="1" type="T">Get definition of internal pipeline = SAP_SENDER</Trace>
<Trace level="1" type="T">Generated prefixed queue name = XBTS0004</Trace>
<Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>
<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
<Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
- <!-- ************************************
-->
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Starting async processing with pipeline SENDER</Trace>
<Trace level="1" type="T">system-ID = EST</Trace>
<Trace level="1" type="T">client = 300</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = BABKIN_RA</Trace>
<Trace level="1" type="Timestamp">2007-08-06T13:55:12Z</Trace>
<Trace level="1" type="T">----
</Trace>
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC">
<Trace level="1" type="T">Get definition of pipeline PID= SENDER</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
- <Trace level="1" type="B" name="PLSRV_CALL_INTEGRATION_SERVER">
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
- <!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-ENTER_PLSRV">
<Trace level="1" type="T">URL for integration server read from global configuration</Trace>
<Trace level="1" type="T">URL= http://SRMDEV.oao.sng:8011/sap/xi/engine?type=entry</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-SET_TECHNICAL_ROUTING_PROPERTY" />
- <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
<Trace level="1" type="System_Error">HTTP-client: error response= <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Header> </SOAP:Header> <SOAP:Body> <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during conversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="SECURITY">INBOUND_SECURE_LEVEL</SAP:Code><SAP:P1>DC4424A659314CF18F500002A541D0E7</SAP:P1><SAP:P2/><SAP:P3>HTTP</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Message DC4424A659314CF18F500002A541D0E7 was sent with ''. Channel configuration, however, requires 'HTTP' </SAP:Stack></SAP:Error></detail></SOAP:Fault> </SOAP:Body> </SOAP:Envelope></Trace>
</Trace>
<Trace level="1" type="System_Error">Exit XMB because of system error!</Trace>
<Trace level="1" type="System_Error">System-Error: HTTP.HTTP_STATUS_CODE_NEQ_OK</Trace>
<Trace level="1" type="System_Error">HTTP status code 500 : Error during conversion of XI message</Trace>
<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
</SAP:TraceHeader>
I think the main problem is the parameter "HTTP Security level" for the channel, but not sure.
Does anybody know where to find a solution?
Regards,
RomanHi Roman
There is no need for an XI adapter for client proxy.... we only use that for server proxies.
Vaibhav -
Abap proxy client and https webservice
Hi, I have a problem with an abap proxy client.
This proxy works perfectyl when I call the test webservice (via HTTP protocol) but it does not work if I try to call the productive webservice (via HTTPS protocol). Of course I have configured LPCONFIG in order to let the proxy point to the correct web site.
I'm pretty sure that problkem is caused by different protocols HTTP vs HTTPS.
I thought the problem could be the web site certificate, so I added it into the PSE (transaction STRUST) but nothing happnes.
Your help is really appreciated.
Edited by: robcom69 on Feb 22, 2010 3:34 PM
Edited by: robcom69 on Feb 22, 2010 3:35 PM
Edited by: robcom69 on Feb 22, 2010 3:49 PMI have loaded the certificate in the TRUST transaction.
Anyway, in our system we do not have the SAPCRIPTOLIB libraries and I do not underastand if they are necessary or not.
I mean, I need these libraries only if I expose an HTTPS server from SAP or even if SAP is the client and it need to access an external https webservice ?
Please help. -
How to call the secured webservice in proxy client ?
Hi All,
JDev ver : 11.1.1.5
I have created a proxy client fro the siebel webservice in model.
When I try calling the methods in the service. its giving error like this ,
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unable to process SOAP Header child element 'wsse:Security' with 'mustUnderstand="1"'(SBL-EAI-08000)
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy32.dgcaCreateAttachement(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
How to set the soap header message username and password ?
thanks,
GopinathHi Juan,
In the client class I am calling the service like this, Where I am doing wrong ?
dGCA_spcCreate_spcCase_spcAttachments_Service = new DGCA_spcCreate_spcCase_spcAttachments_Service();
SecurityPoliciesFeature securityFeatures =
new SecurityPoliciesFeature(new String[] { "oracle/wss_username_token_client_policy" });
DGCA_spcCreate_spcCase_spcAttachments dGCA_spcCreate_spcCase_spcAttachments = dGCA_spcCreate_spcCase_spcAttachments_Service.getDGCA_spcCreate_spcCase_spcAttachments(securityFeatures);
Map<String, Object> reqContext =
((BindingProvider)dGCA_spcCreate_spcCase_spcAttachments).getRequestContext();
reqContext.put(BindingProvider.USERNAME_PROPERTY, "SADMIN");
reqContext.put(BindingProvider.PASSWORD_PROPERTY, "SADMIN");
DGCACreateAttachementInput input = new DGCACreateAttachementInput();
input.setCaseId("");
input.setFilePath("");
dGCA_spcCreate_spcCase_spcAttachments.dgcaCreateAttachement(input);
Regards,
Gopinath
Maybe you are looking for
-
Pages 3.01 to 3.02 update
hiya every time i open Pages (iwork 08) it tells me there is a new version - 3.02 - available. I click the update option and it then tells me my software is up to date. About Pages confirms 3.01 is the installed version. Software update isn't reporti
-
Using Font Folio in InDesign to export in PDF to app store
Our customer is creating applications using In Design. These applications are exported into PDF format for viewing on mobile devices. Is there any additional licensing needed from Adobe in this scenario? Also, in the future (not now) if the cus
-
Code for single button which acts for add,find,update
I have created one btns- (acting for add,find, update etc having same unique id )using VB.NET code.I want to write code according to the captions of the button...I mean for diff caption of the btn , diff action should perform? So , plz anyone tell me
-
Computer #1 dying - how can I transfer library to computer #2?
Please tell me I don't have to RE-upload my entire library because I had to get a new computer. I tried syncing my ipod nano to my new computer and it said I couldn't dump any songs from the ipod onto my new computer, unless they'd been purchased. I'
-
Why is PS 2014 slower than PS CC on some video and GIF operations on my machine?
When I try to make gifs in 2014, I click import> video frames to layers and it takes much more time to load than CC did. Then, when I finally choose the video I want to convert into frames, it takes MORE time loading. Honestly I am thinking about goi