XML via SOAP
Hi Experts,
My Secnario is
IDOC -- XI --- SOAP.
Actaully i have to convert incoming IDOC into Flat file in XI and send this attachment via SOAP attachment.
Is it possible?
Thanks
Subbu
Hi
if u want to craete the file for an IDoc then u have to collect the idoc a file and that file u can use as an attachemnt.
to collect idoc in a file u have to do the following settings.
1.Use transaction WE21 and create an file port in the R/3 system. Apply here function module for creating the file name. You can use a standard module to do the same.
2.Using WE20 to create the partner profile and assign the outbound IDOC message type to a partner profile in the outbound parameters.. This partner will be the R/3 server itself since the ile will be uploaded on the R/3 Server . For this message type give the filet created in the above step as the receiver port and select the option collect IDOCs as output mode. Give the basic IDOC type the idoc u r triggering.
3. use transaction BD16 to trigger the IDoc
4.Use the transaction BD87 to process the IDoc, the file port and the number of IDocs which shall be collected
6.Using transaction SXDA_TOOLS download the XML message stored on the R/3 server and upload the same into the XI server.
Thanks
Rinku
Similar Messages
-
NullPointerException while sending signed XML via SOAP to Axis webservice
Hello,
I was wondering if it was possible to change the behavior of Apache XML Security libraries and delete "ds:" namespaces while digitally signing XML files.
We are trying to send signed XML to a local chilean IRS, as a part of an automatic autentication process. The steps to authenticate are quite straightforward and involve:
1. Obtain from webservice 1 a "seed", which is a random number representing temporal session opened
2. Sign this seed (in XML format) using our certificate
3. Send signed XML to another webservice 2, which should validate it and open a permanent session, returning a "token", which is an alphanumeric string
What happens is that steps 1 and 2 are completed without problems, while we cannot pass step 3. The webservice (as far I know mounted on Apache Axis) fails with ugly error "NullPointerException".
The IRS says that our signed XML, although valid, seems strange to them, as it contains those "ds:" added by Apache Xml Security libraries while signing the file.
So here comes the question: is it possible to obtain valid signed XML without those "ds:"? What other reasons may result in that NullPointerException error?
We use simple Java class and VeriSign certificate stored in Java keystore to sign XML files, and Apache Xml Security 1.2.0 jars.
For any clues that could help us thank you in advance.
JackHi,
Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
Perhaps note:
721548 Changing the passwords of the XI 3.0 service users
will help you.
We removed and entered the service users again, with the password in CAPITALS and language blank.
After that our problem was solved, I hope yours too.
Regards
Jack -
Send XML and receive binary data via SOAP
Hi folks,
following idea (Client-Server-Rendering-Architecture):
1. Send XML as JavaScript variable via SOAP to the InDesign Server
2. Attached the XML String to a new document or template
3. Apply several XMLRules to the docuument
4. Render to document as JPG|PDF whatever
5. Transmit the JPG (means binary) via SOAP back to the client
Following problems raised by implementing this
1. Build a new XML-Object with new XML() works, but how to attach this object to the document, i've just found importXML() but from file, not string and xmlElements.add() for adding just a tag not a whole xml tree. The importXML() performance from a File object is not that fast ...
2. How to render a document not to a file with exportFile() but into a variable, object etc.?
3. How to send a binary object (from an object, a variable or File object if not possible as describe in Q#2) back to the client via SOAP (scriptResult)? Do I have to expand the WSDL (and|or C++ API), any examples?
Thanks for your help, by the way, the describe scenario is what I expect of a rendering server not more not less ...
Tinofor one thing, don't use == to compare strings... You have that all over the place, like:
if(currentElement=="region") { -
How can I get an Infoprovider list via the BI XML/A SOAP interface?
I have a followup question for this as well. Currently with xMII we are using the XML/A SOAP interface to query against remote enabled queries in BI. Is it possible through this interface to request a list of InfoProviders? I know that through MDXTEST in SAP GUI there is a list of providers there but is that available through the XMLA interface? The BAPI that I found that will do this is BAPI_MDPROVIDER_GET_CUBES with the CAT_NAME value set to $INFOCUBE. This name/description value set is what I am looking for.
Sorry about that. I had the link ready to paste but neglected to do so: http://acrobatusers.com/tutorials/getting-external-data-into-acrobat-x-javascript
The idea is that you can read in data from an external or attached file, but it will need to be a different format such as XML, tab-delimited text, or CSV, which can all be exported from a spreadsheet. -
How to receive acknowledgement from Vendor via SOAP adapter.
Hello Experts, my outbound scenerio is R3>PI->Vendor via the URL given by vendor. From PI i'm sending my POs via SOAP adapter and in the conversion parameters I choose the check box "Do not Use SOAP Envelope" My message reached the vendor. Now vendor sends back a functional acknowledgement indicating the message had been received and processed. Below is the entire XML file content.
<MessageAcknowledgment>
<AckLocation>Medical</AckLocation>
<AckRefNum>98712345</AckRefNum>
<AckNote>200-Accepted</AckNote>
</MessageAcknowledgment>
Can anyone let me know how to receive the above message? What setup do i need to do?
Thanks,
Edited by: XISearch on Jan 10, 2011 3:05 PM>>> Can anyone let me know how to receive the above message? What setup do i need to do?
Solution: You need to create a synchronous scenario.
Might be at R3 side proxy sender and vendor side Reciever Soap
Basically PROXY <------> SOAP
Map the proxy request message to soap(vendor) request message as REQUEST MAPPING
and
Map the SOAP (Vendor) response message to proxy response as RESPONSE MAPPING
and in the backend parse the response.
If you need more details, Please let us know. -
Hi all.
I initiate an instance of process via SOAP (Axis2) the first one works fine
but the rest throws exception.
When I restart the server(in JDev) the same scenario occurs
08/02/02 16:52:51 org.apache.axis2.AxisFault: java.lang.NullPointerException
08/02/02 16:52:51 at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
08/02/02 16:52:51 at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
08/02/02 16:52:51 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
08/02/02 16:52:51 at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
08/02/02 16:52:51 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)This sounds very similar to how my BPEL process behaves. I'm unable to post XML input into the "XML Source" region of the initiate screen unless the input is properly wrapped in the respective message type element.
Make sure your invoking client code is wrapping the input properly with the message type XML elements. -
I am currently trying to connect to our OCS server via SOAP.
The example scripts in the documentation (Java-example for the RemoteLoginManager, p.10 of the Content Services Application Developer's Guide ) and the ones in the SDK sadly dont work.
We tracked it down to http://jira.atlassian.com/browse/JRA-7321 to be the likliest cause for that.
The returned envelope while trying to connect contains TWO attributes of identical name causing a SaxException client-side.
Any insight on if we did a misconfiguration?
Any tips on how to connect to OCS via SOAP the simplest way?
Thanks,
KristianHi Matt,
you are right - we are using SOAPpy / ZSI and the duplicated attributes are
exactly like the issue on apache.org.
We are just trying to figure out which AXIS version is running on the
server and will post it as soon as we know :)
Our SOAP envelopes look like this:
outgoing: --------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:login xmlns:ns1="http://xmlns.oracle.com/content/ws" SOAP-ENC:root="1">
<username xsi:type="xsd:string">zope_user</username>
<password xsi:type="xsd:string">zope_passwd</password>
</ns1:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
incoming:--------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<soapenv:Body>
<ns1:loginResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://xmlns.oracle.com/content/ws">
<loginReturn soapenc:arrayType="ns1:NamedValue[3]"
xsi:type="soapenc:Array" xsi:type="ns1:ArrayOfNamedValue"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<loginReturn href="#id0"/>
<loginReturn href="#id1"/>
<loginReturn href="#id2"/>
</loginReturn>
</ns1:loginResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:NamedValue" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://xmlns.oracle.com/content/ws">
<name xsi:type="ns3:string" xmlns:ns3="http://www.w3.org/2001/XMLSchema">LOGIN_USER</name>
<value href="#id3"/>
</multiRef>
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedValue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<name xsi:type="ns5:string" xmlns:ns5="http://www.w3.org/2001/XMLSchema">TRANSACTION_TIMEOUT</name>
<value xsi:type="soapenc:int">120</value>
</multiRef>
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedValue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns6="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<name xsi:type="ns7:string" xmlns:ns7="http://www.w3.org/2001/XMLSchema">SESSION_TIMEOUT</name>
<value xsi:type="soapenc:int">1800</value>
</multiRef>
<multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:Item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns8="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<id xsi:type="ns9:long" xmlns:ns9="http://www.w3.org/2001/XMLSchema">150408</id>
<name xsi:type="ns10:string" xmlns:ns10="http://www.w3.org/2001/XMLSchema">kristian</name>
<requestedAttributes xsi:type="ns8:ArrayOfNamedValue" xsi:null="true" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"/>
<type xsi:type="ns11:string" xmlns:ns11="http://www.w3.org/2001/XMLSchema">USER</type></multiRef>
</soapenv:Body>
</soapenv:Envelope>
thanks,
kristian -
Hi
I am using a WSDL in my java code by creating proxy.
I am getting an exception on below line of code
XX_RESPONSE res = port.XX_XX_Forecast(req);
exception :
javax.xml.rpc.soap.SOAPFaultException: "Server Error"
hat could be the possibility.
is it from XI side or Java side.
Shall I catch a XI person on my floor to solve this !!
To be more specific :
Error is
<detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = <null>
at com.sap.aii.af.mp.soap.web.MessageServlet.getChannel(MessageServlet.java:499)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:409)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
</s:SystemError>
</detail>
ThanksHi...
WSDL forwarded by my manager was wong
I tested it and it threw same exception.
nyways...1 more help..
Now, is there any way in NWDS to replace contents of used WSDL.
Because only 1 "=" is missing in WSDL..
Thanks -
Problemas no recebimento de XML via E-mail caracteres especiais
Boa Tarde
Estou com problemas no cenario de Validação de Assinatura com apenas um XML :
Estou recebendo um XML via E-mail !
Quando verifico o XML pelo Validador Online disponibilizado pelo SEFAZ RS ,a Assinatura é dada como Válida
e quando é pelo PI usando o serviço de Validação da Assinatura(Verify) a mesma é dada como inválida... Através do Payload na SXI_MONITOR verifiquei que além dos cacacteres ENTER entre as TAGs aparecem ESPAÇOS ...(ex.: Tag1 valor fecha Tag1 espaço Tag2 valor fecha Tag2).teria como tratar isso sem invalidar a Assinatura automáticamente ?Boa Tarde
Não sei se você chegou a receber alguns casos que lhe enviei ...! Quando ele chega ao e-mail ele já esta assim....!
Esse é nosso grande problema as vezes o parceiro não se sente obrigado em ajustar o seu sistema, uma vez que lhe é apresentado uma ferrameta do governo que valida esse mesmo arquivo rejeitado pelo serviço de Validação de *** Digital(AS JAVA)SAP ...,oque penso em fazer quanto a essa questão,.. desenvolver uma solução para tratar a excessão ..com calculo de Hash ...comparação Binária.. e outras mais...!
Só que eu não queria tomar um caminho muito distante doque a SAP possa vir a tomar com essa solução no futuro até mesmo para não depreciar essa ferramenta que é tão boa...!
Att
Ronaldo de Moraes
Edited by: Ronaldo de Moraes on Oct 21, 2009 4:58 PM -
Connection from DP to SAP PI 7.11 via SOAP/https failed
Hello Guys,
we have a problem with connection from DP to SAP PI via SOAP/https.
DP send a request and get a timeout. timeout is 2 or 3 minutes.
DP and SAP PI authentificated with certificates.
Our Problems:
DP get now failure code
in commnication channel monitoring in RWB from SAP PI I see no entry, no error
in java default trace I see no error.
What could be the Problem? What must we configure for https communication via SOAP Adapter?
Which Log get me some information?
Thanks and regards
MartinHi Neetesh,
I have check all, but it resolved not my problem.
I will describe my scenario again:
scenario:
syncronous request from system A over DataPower ->SAP PI to SAP system.
communication DataPower to PI: SOAP over https
DataPower located in other network zone.
port is activated in firewall.
called URL from DataPower:
https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
channel=:<business system>:<interface>
Problem:
authentication looks like ok. No error in ICM Trace, in default java
trace login from DataPower IP-adress ok.
but no message is to see in the communication channel.
no message in the adapter engine, no message in the integration engine
DataPower get a timeout. (Timeout 2 minutes)
we find no error, but also no message
What could be the error? And where find I some information in SAP PI.
Thanks and regards
Martin -
Error while invoking the ABAP Proxy via SOAP Adapter
Hi,
My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
With this approach, i am encountering the below error message
2009-05-29 12:17:55 Error Adapter Framework caught exception: null
2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
Any ideas on the above errror message? Any pointers or inputs will be appreciated.
Thanks,
Vinayak Kamath> 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
> 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
This is a generic error message which does not have any information about the error which has occurred.
Do you see any error messages in the SOAP client?
Regards
Stefan -
Hi: We are using weblogic81 sp3. Other developers in my office ran the same porgram and got no errors.
My startWebLogic.cmd are configured exactly same as theirs.
My startWebLogic classpath:
set CLASSPATH=%WL_HOME%\server\lib\ojdbc14.jar;%WL_HOME%\server\lib\CR122067_81sp3.jar;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
I keep getting this webservice error.
SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: w
eblogic.xml.schema.binding.DeserializationException: mapping lookup failure. typ
e=['java:language_builtins.util']:ArrayList schema context=TypedSchemaContext{ja
vaType=[Ljava.lang.Object;} (see Fault Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
rvice/fault/1.0.0">weblogic.xml.schema.binding.DeserializationException: mapping
lookup failure. type=['java:language_builtins.util']:ArrayList schema context=T
ypedSchemaContext{javaType=[Ljava.lang.Object;}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeU
tils.java:461)
thank you for your helpwe used castor to do xml mapping
-
Javax.xml.rpc.soap.SOAPFaultException +HttpBinding Adapter 11g
Hi all,
when i am trying to use HttpBinding Adapter with Type= 'Service' , Verb='POST' ,*Operation Type='Request-Response'* , after these settings when i deploy my application on Enterprise Manager than my operation works fine but i get following error in log file.
Please suggest me what am i doing wrong...................
<javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1052)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:889)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:484)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Edited by: 835461 on Jul 19, 2011 4:07 AMThis operation is assyncronous ?
-
Javax.xml.rpc.soap.SOAPFaultException: SoapException
Hi... forum
I really need your help.
I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error
javax.xml.rpc.soap.SOAPFaultException: SoapException
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:540)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at com.ws.runtime.POSSoap_Stub.comprar(POSSoap_Stub.java:659)
at com.ws.POSSoapClient.comprar(POSSoapClient.java:55)
at com.ws.POSSoapClient.main(POSSoapClient.java:40)
I debug the application and then get down in this line:
send((String) getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
i also using web Secure Proxy
i don´t know what´s happenning ?
Can help me, please?
thnks
JosueHI Frank, thank you for your help...
I run the HTTP analyzer and see the error.. the usernametoken doesn´t was put it...
My proxy i put it like secure proxy and i check the option username token. but the service. doesn´t put me this tag.
this the message send it.
<?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="urn:schemas-orbitel-com-co:pos">
<env:Body>
<ns0:SolicitudCompra>
<ns0:IdTransaccion>123</ns0:IdTransaccion>
<ns0:TipoTarjeta>Orbitel Europa</ns0:TipoTarjeta>
<ns0:Localizacion>Colombia</ns0:Localizacion>
<ns0:Valor>0</ns0:Valor>
<ns0:ZonaHoraria>0</ns0:ZonaHoraria>
</ns0:SolicitudCompra>
</env:Body>
</env:Envelope>
And the error message is..:
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>SoapException</faultstring>
<faultactor>urn:schemas-orbitel-com-co:pos</faultactor>
<detail>
<Error xmlns="urn:schemas-orbitel-com-co:pos">
<Codigo>POS006</Codigo>
<Descripcion>El UsernameToken no fue suministrado</Descripcion>
</Error>
</detail>
</soap:Fault>
Frank, what can i do. to put the usernametoken into the send message.. ?
thnks four your help...
thnks.
Joshua -
Hi Folks,
I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
What happened ?
Tutorial link:
"http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
Exception:
"Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
ll
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
r.java:106)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
a:91)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
r.java:79)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
a:254)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
java:224)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
ntDispatcher.java:161)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
atcher.java:116)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)"Hi Folks,
I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
What happened ?
Tutorial link:
"http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
Exception:
"Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
ll
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
r.java:106)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
a:91)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
r.java:79)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
a:254)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
java:224)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
ntDispatcher.java:161)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
atcher.java:116)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)"
Maybe you are looking for
-
After updating my iPad 2 & iPhone 4 to iOS 5, I set-up each one for iCloud, but inadvertently used 2 different Apple ID's (one me.com and one that I typically use for Apple purchases). I realize this will prevent the two devices from syncing. Wh
-
Auto rotation of Screen is not working
Hello Sir, I had problem with my Lenovo IdeaPad A1_07, Kindly Suggest me how to rectified the same. Thnaks Naveen Kumar
-
HT1338 os x mountain lion updates issues
Hi, i am using macbook air 13 intch. i updated my software to os x moutain lion 10.8.1. but my computer faced many troubles. like face time, imessage, mails amd system preferemces cannot react. i have also guest user on my computer work proporly but
-
Bigfile or smallfile tablespace?
Hi community, I'd like to set up a Oracle database (Version 10.2.0.3 64-bit) on a Windows Server 2003 (64-bit). Server Hardware: - Dual Core AMD Opteron - Processor 8224 SE, 3,21 GHz - 16 GB RAM Storage: - HP StorageWorks MSA 1000 - 3 x 250 GB (RAID
-
i just downloaded ilife every things working fine except, when i try to open iPhoto it said ''You can't open the application iPhoto because it may be damaged or incomplete. i tried to re-download it but my password didn't work for some reason. HELPPP