Xml gateway binding exception
Hi,
I need some assistance regarding xml Gateway. I have created a PartnerLink to OracleApps using xml gateway interface. The process is compiling and deploying. When I am posting the XML Message in BPEL Console I am getting the following error during runtime.
Could you please find out what I have missed.
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="summary">
<summary>oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA@1a4835ahttp://SEKHARANB:9700/orabpel/default/eBizToXMLGatewayBPELProcess/eBizToXMLGatewayService.wsdl[Dequeue_ptt::Dequeue()] : Could not invoke 'Dequeue' due to: java.util.MissingResourceException java.util.MissingResourceException java.util.MissingResourceException ; nested exception is: ORABPEL-00001 java.util.MissingResourceException java.util.MissingResourceException java.util.MissingResourceException</summary>
</part>
</bindingFault>
Thanking You,
Ramesh
Hi Ramesh,
Which exact release/version are you working on top of ? The below error message indicates that it the wsif layer is failing to create an NLS version of the error message and as a result you cannot see the real error here.
Could you turn on "debug" level logging and see if you have any more information in your domain.log ? Maybe there is a stack trace which could help us till we have the MissingResourceException problem resolved.
Cheers,
Shashi
Similar Messages
-
XML Gateway: Error while posting to a OTA URL
Hi
I am using the code in XML Gateway user guide for OTA Post over HTTPS. Am getting an IOException that i am unable to tunnel through the proxy.
The user guide code can be seen here : http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319783.htm
But, when i use Chrome's REST Client and set the proxy to be same proxy as i use in the code above, I am getting a successful response.
Am unable to understand the difference between both.
The exception that i get is as below:
Exception = java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 504 Gateway Timeout"
Kindly help.
thanks
KamalHi
I am using the code in XML Gateway user guide for OTA Post over HTTPS. Am getting an IOException that i am unable to tunnel through the proxy.
The user guide code can be seen here : http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319783.htm
But, when i use Chrome's REST Client and set the proxy to be same proxy as i use in the code above, I am getting a successful response.
Am unable to understand the difference between both.
The exception that i get is as below:
Exception = java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 504 Gateway Timeout"
Kindly help.
thanks
Kamal -
Lease help me, I'd need to create XForms binding-exception with XHTML page
Hello,
is anyone here who could help me?
I've spent plenty of hours by searching the correct and suitable way for creating a binding exception in XForms, but I did not succeed...
My situation is: I've got an XHTML page with XForms and XML (input) file, which describes this page. Whenewer I change the input data in the XML file (for example if there are tags <person> and ....</person> if I change it to <peson1> and ...</person1>) after saving the changes and refreshing the page, the XForms are changed (for example some text fields are missing or they've got white background instead red one, which there was before et cetera). {I hope it is clear till now.....}
My task is: to create a xforms-binding-expression event, which will display an error message (for example: FILE HAVE BEEN CHANGED, CAN NOT DISPLAY THE PAGE PROPERLY) to the user.
i've found some stuff, how to create such message, but i need to know the exact order of commands to make it work, where to insert them, the structure etc, so I can comprehend your advices...
The XHTML file contains of several blocks - bind, model, submission, instance etc - and I do not actually know, where to insert such lines (with message)...I think I should make some bindings with the page loading, but I've got no idea how to get it done, however there are very few sites with such stuff on the internet. I hope this task is no big deal for you gyus, THANK YOU A LOT IN ADVANCEThank you very much. I am new to this, and but am not exactly sure how to run a script. Can it be run as a one-off using the editor or console like AppleScript and hitting the green arrow, or do I need to put this into a file and save it to the scripts folder first?
Also, a related question: some of my scans are full page Letter already and I need to reduce them (scale them) so that they print with a margin because the pages need to be hole punched.
Can you help me incorporate into this code something that says, if the trim box > 8 x 10 then scale the page by x percent or by whatever allowable means Acrobat will do it? This way, those pages will be permanently scaled smaller. I cannot just print them scaled smaller, because then all the scans will be printed smaller, and I only need the largest ones reduced in size.
Thanks so much. -
Please help me, I'd need to create XForms binding-exception with XHTML page
Hello,
is anyone here who could help me?
I've spent plenty of hours by searching the correct and suitable way for creating a binding exception in XForms, but I did not succeed...
My situation is: I've got an XHTML page with XForms and XML (input) file, which describes this page. Whenewer I change the input data in the XML file (for example if there are tags <person> and ....</person> if I change it to <peson1> and ...</person1>) after saving the changes and refreshing the page, the XForms are changed (for example some text fields are missing or they've got white background instead red one, which there was before et cetera). {I hope it is clear till now.....}
My task is: to create a xforms-binding-expression event, which will display an error message (for example: FILE HAVE BEEN CHANGED, CAN NOT DISPLAY THE PAGE PROPERLY) to the user.
i've found some stuff, how to create such message, but i need to know the exact order of commands to make it work, where to insert them, the structure etc, so I can comprehend your advices...
The XHTML file contains of several blocks - bind, model, submission, instance etc - and I do not actually know, where to insert such lines (with message)...I think I should make some bindings with the page loading, but I've got no idea how to get it done, however there are very few sites with such stuff on the internet. I hope this task is no big deal for you gyus, THANK YOU A LOT IN ADVANCEThanks a lot.
Yes. It works well now.
In it's documentation it says put orcl for SID but never thought to try default xe.
You're the man.
tnx -
How to consume XML Gateway WS from a remote Oracle DB (10g)?
Hi,
I'm currently looking into consuming EBS web services, particularly the XML Gateway service from a remote database. For ease of use, I'm also using an Oracle 10g database.
It seems there are several ways to skin a cat though. Hope you can help.
1) Is it possible to use UTL_HTTP for this? If yes, can you please explain in detail as I have been trying to do this the past few days without success. Note, I was able to consume other web service examples, though. What url & SOAP action should I use?
2) I built a proxy client stub using JDeveloper and deployed it to the DB. However my plsql procedure doesn't execute the java class. Any thoughts?
Thanks,
CharinaHi Charina,
Regarding option 1), the url for the service endpoint and the value for the SOAPaction HTTP heaader are advertized in the WSDL for your service.
The value of the utl is provided by the 'location' attribute for the soap:address element within a port.
The value for the SOAPaction header is provided by the 'soapAction' attribute for the soap:operation element within a wsdl:binding/wsdl:operation element.
You can have multiple ports and bindings advertized in a single WSDL. If this is the case for you, you need to make sure that the operation you are tryin to invoke is from the SOAP binding; the one with the transport attribute set to "http://schemas.xmlsoap.org/soap/http".
Here is a WSDL snippet for illustration purposes:
<binding name="CalculatePricePort" type="tns:CalculatePricePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"></soap:binding>
<operation name="CalculatePrice">
<soap:operation soapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
<output>
<soap:body use="literal"></soap:body>
</output>
</operation>
</binding>
<service name="CalculatePriceWS">
<port binding="tns:CalculatePricePort" name="CalculatePricePort">
<soap:address location="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute&UserName=XXXX&Password=XXXX"></soap:address>
</port>
</service>Note that I took an example where both attributes are not using common format.
To try to get this working faster, you may want to try to use an existing JAVA (or .Net) client and compare the working payload with what is generated by the UTL_HTTP package. It's usually faster to work of a working sample that to double guess why it's not working.
Hope it helps,
-Eric -
Error in inbound processing: EDI message - XML Gateway
Hello!
I've setup a DELFOR transaction in B2B and modified XML Gateway settings for internal delivery channel in order to send the message to EBS, but I'm getting weird errors in b2b.log. (XML Gateway in EBS is not setup yet, but it should't be an issue since incoming errors are handled in EBS, and I would just see an inbound transaction with processing errors in Transaction Monitor.)
In the beginning of b2b.log I see this:
2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryInternalDeliveryChannel
2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryInternalDeliveryChannel
2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound initialize
2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 Obtaining inbound connection...
2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound connect string: jdbc:oracle:thin:@server64.xa.si:1521:test2
2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound username: apps
2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:32 CEST 2009 inbound initialize exit
2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2009.07.07 at 15:26:32:538: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
After I copy the edi file to the incoming directory B2B starts processing the file:
2009.07.07 at 15:30:01:878: Thread-10: B2B - (DEBUG)
Protocol = File
Version = 1.0
Transport Header
filename:00003442_23.CMS
filesize:12345
file_ext:CMS
fullpath:C:\xa_endpoint\00003442_23.CMS
timestamp:2009-07-06T16:14:29.393+01:00
As I see in the log: B2B finds the trading partner and agreement and all looks fine. But later comes this:
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Enter
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to destination. protocol is XMLGateway Queues
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to XMLGW
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Converting B2B message to ECX message..
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Inbound - B2BtoECX - Enter
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 B2B Message -
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : COLLABORATION_NAME : null
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : ACTION_NAME : DELFOR
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE : DELFOR
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE_REVISION : D97A
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : SOURCE_NAME : tpartner
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DESTINATION_NAME : Xa d.d.
2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : PAYLOAD : UNB+UNOA.............. edi message continues here
2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : PAYLOAD : <?xml version="1.0" ?><Transaction-DELFOR............... xml continues here
2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 ECX Message -
2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry Could not deliver the message; exception message is null
2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry No application side retry
2009.07.07 at 15:30:06:081: Thread-9: B2B - (ERROR) Error -: AIP-50903: Message "0A14011912255682A58000003257C600-1" retry count is zero
at oracle.tip.adapter.b2b.msgproc.MessageHandler.handleAppMessageRetry(MessageHandler.java:394)
at oracle.tip.adapter.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:344)
at oracle.tip.adapter.b2b.msgproc.Request.putMsg(Request.java:657)
at oracle.tip.adapter.b2b.msgproc.Request.continueRequest(Request.java:481)
at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:410)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
Last message repeats once more and then:
2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.07.07 at 15:30:06:096: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Exit
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Enter
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Leave
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Exit
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Exit
2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage setting seq numbers
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Call Incoming Request Processor
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Enter
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest TransportBindings created
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Create a Message Table Row for Request message with message state Continue Processing
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryExchangeProtocolRevision
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryExchangeProtocolRevision
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentProtocolRevision
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentProtocolRevision
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (ERROR) Error -: AIP-13115: Not in an active transaction
at oracle.tip.repos.core.persistency.BaseObject.prologue(BaseObject.java:1408)
at oracle.tip.repos.core.persistency.BaseObject.createObject(BaseObject.java:913)
at oracle.tip.model.instance.DataStorage.create(DataStorage.java:794)
at oracle.tip.adapter.b2b.message.MessageStorage.create(MessageStorage.java:145)
at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:953)
at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:397)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage General Exception ERROR
Error repeats a few times.
Wire message stays in Processing status, Business message is errored and an exception message is created in ip_in_queue.
Both remote and host delivery channels have retry set to 1. Agreement was re-deployed + all B2B restared, but the problem remained.
Could anyone help with this? What could be wrong?
Thanks in advance.
Kind regards,
Wanda
PS. I've checked all threads that might have anything to do with this, but found nothing useful.Hi Anuj,
thanks for taking the time to examine the file.
Answers to your questions:
1. Yes, this is the 1st time for B2B, but the EBS I'm trying to connect to is up and running for approx. 2 years (it's a test instance).
2. Patching was done by the customer's sysadmin, so I don't really have an overview on what and how he did. Result of opatch:
Installed Patch List:
=====================
1) Patch 8298731 applied on Sat Jun 13 09:23:42 CEST 2009
2) Patch 5907304 applied on Thu Jul 17 14:26:55 CEST 2008
3. In theory the sysadmin should have run it, but how could I double-check this?
I know he had problems while applying patch 8298731, but he said it was solved later. (Customer is using windows os, which is making a lot of troubles otherwise.)
Regarding IDC log there is no success. I've restared B2B at least 5 times plus once the database, but still nothing. In tip.properties:
oracle.tip.adapter.b2b.transportTrace = C:\APPS\OAS\ip\log/transport.trc
also I tried the following values:
C:\\APPS\\OAS\\ip\\log/transport.trc (since there is a similar entry: oracle.tip.LogDirectory = C:\\APPS\\OAS\\ip\\log)
C:\\\\\\\\\\\\\\\\APPS\\\\\\\\\\\\\\\\OAS\\\\\\\\\\\\\\\\ip\\\\\\\\\\\\\\\\log/transport.trc (this was commented before; maybe it comes from some default)
true (I had no other idea)
Result is the same for all the cases: b2b_idc_transport.log file is 0 bytes, but b2b_dc_transport.log has initial data+writes log when processing.
If I remove or comment the above line from tip.properties, then no transport log files are created.
I've updated the agreement to have B2B inbound for the internal delivery channel, re-deployed it and it worked fine -> transaction(s) appeared in IP_IN_QUEUE.
Changing it back to XML Gateway (and re-deploying) causes all original problems.
Regards,
Wanda -
Hello,
I am building JSP client for webservice. The client is deployed on tomcat 4.x.
This time fortunatelly clientgen swallowed WSDL and I got client code generated.
I added webserviceclient.jar to WEB-INF/lib. However I am getting java.lang.NoClassDefFoundError:
weblogic/xml/schema/binding/SequenceCodecBase Exception.
Indeed webserviceclient.jar has no weblogic/xml/schema/binding/SequenceCodecBase
class defined. Do I have bad webserviceclient.jar or am I doing something wrong?
Also I've found weblogic/xml/schema/binding/SequenceCodecBase in weblogic.jar
so I added it to my application. Now I am getting
java.lang.ClassCastException: com.sun.xml.messaging.soap.dom4j.BodyImpl
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:218)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:268)
at weblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation.java:328)
at weblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation.java:304)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:141)
at client.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:69)
at client.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:89)
What am I doing wrong?
Thanks,
AlekseyIt looks like you have the JAXM suns RI registered. We do not
work with other JAXM impls. To set your MessageFactory to
use WLS jaxm impl do the following:
System.setProperty( "javax.xml.soap.MessageFactory",
"weblogic.webservice.core.soap.MessageFactoryImpl" );
before you invoke the web service method.
regards,
-manoj
"Aleksey" <[email protected]> wrote in message
news:3c9a43f7$[email protected]..
>
Hello,
I am building JSP client for webservice. The client is deployed on tomcat4.x.
This time fortunatelly clientgen swallowed WSDL and I got client codegenerated.
I added webserviceclient.jar to WEB-INF/lib. However I am gettingjava.lang.NoClassDefFoundError:
weblogic/xml/schema/binding/SequenceCodecBase Exception.
Indeed webserviceclient.jar has noweblogic/xml/schema/binding/SequenceCodecBase
class defined. Do I have bad webserviceclient.jar or am I doing somethingwrong?
>
Also I've found weblogic/xml/schema/binding/SequenceCodecBase inweblogic.jar
so I added it to my application. Now I am getting
java.lang.ClassCastException: com.sun.xml.messaging.soap.dom4j.BodyImpl
atweblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:218)
atweblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:268)
atweblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation
.java:328)
atweblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation
.java:304)
atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:141)
atclient.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:69)
atclient.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:89)
>
What am I doing wrong?
Thanks,
Aleksey -
Error in XML Gateway Processing - java.lang.OutOfMemoryError
Hi All,
We have B2B Customizations for Processing Orders in our Applications .
While an Inbound Document(ORDERSTATUS Document) got processed in our Application, we could find the Document being errored out in XML gateway with the following errors:
(Note: Partners are on E2Open Gateway and we dont use Webmethods)
1) ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError- ECX_INBOUND_NEW.PROCESS_XML_DOC
2) ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError - ecx_utils.INITIALIZE:
The Error has occured only twice (one in the month of May and the other in June) and its not replicable.
We verified all the Trending aspects (If the Issue is due to XML Document content, Specific to a particular Partner etc).
But we didnt find any clue about the occurence of this error.
Kindly provide your views on the occurence of the error.
Thanks in Advance,
Mangala.Hi Mangala,
This error comes when JVM runs out of memory. Few cause may be -
1. You are trying to operate on a very large file (comparing to your system's primary memory)
2. You are trying to parse an xml, use SAX parser for best performance
3. Your JVM_OPTIONS value is not sufficient
You may consider increasing your JVM_OPTIONS value to some appropriate limit.
Are you working with Matthew Sullivan/Richard's team?
Regards,
Anuj -
Weblogic.xml.schema.binding.DeserializationException
Hi all.
I am using WLS 8 and in my web application I have implemented a web service client. The client uses an API that I created with the clientgen executable providing a valid WSDL. That WSDL defines custom data types that are used during the communication to the web service server. Whenever I use one of those custom data types in my web service request everything works fine. But when I call a web service that responds with one of those custom data types I am getting the following exception:
Error occured while calling webservice! Error : web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure.
The weird thing is that weblogic somehow tries to refer to that custom data type with an IP address (e.g. 123.123.123.123) but in the WSDL all the URLs are defined with names (e.g. my.web-service.de) .
Has anyone experienced a similar problem and/or can help me with this issue?Hi all.
I am using WLS 8 and in my web application I have implemented a web service client. The client uses an API that I created with the clientgen executable providing a valid WSDL. That WSDL defines custom data types that are used during the communication to the web service server. Whenever I use one of those custom data types in my web service request everything works fine. But when I call a web service that responds with one of those custom data types I am getting the following exception:
Error occured while calling webservice! Error : web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure.
The weird thing is that weblogic somehow tries to refer to that custom data type with an IP address (e.g. 123.123.123.123) but in the WSDL all the URLs are defined with names (e.g. my.web-service.de) .
Has anyone experienced a similar problem and/or can help me with this issue? -
Hi,
We are getting below exception everytime we are starting the weblogic 10 server. This is coming in clustered as well as non-clustered environment. Full stack trace is as below:-
<03-Oct-2009 12:24:19 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Failed to load servlet Class: FileOutputServletIgnoring: unable to load class:java.lang.ClassNotFoundException: FileOutputServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)Failed to load servlet Class: FileOutputServletIgnoring: unable to load class:java.lang.ClassNotFoundException: FileOutputServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
Any pointers will be helpful.....
Thanks & Regards,
SanjeevHow are you starting your weblogic server? From the console or command prompt? Try both ways and see still the error occurs. Both uses different script to start the server. See that makes any difference.
-
XML Gateway OXTA submit to eBusiness Suite Problems
Hi all,
I am using XML gateway to receive an inbound transaction from a custom web service i built.
It uses an OXTA connection over HTTP
I basically copied it from the XML Gateway User guide...
http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120ecxug.pdf
And on page 7-21 it says
"The receiving Web server sends the message response back to the sending Web server.
The message response includes Message Receipt ID, Status Code, and Status
Description. A status code of 1000 implies the message was successfully posted."
I get a status code of 1000 which was great!
But the message doesn't really get to the eBusiness Suite. There is a problem somewhere but I don't know where.
If XML Gateway says the message is ok, but eBusiness suite doesn't get it...where is the issue? Maybe in workflow? How do I test this if I get a 'ok' status back? What should I look for?
Any help would be much appreciated.
-Jason
My OXTA Submit Message Procedure:
public Status submitMessage(SyncMessageType message) throws Exception {
URL url = new URL(address);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
StringBuffer buff = new StringBuffer(3000);
getPostString(message, buff);
con.setDoInput(true);
con.setDoOutput(true);
con.setRequestMethod("POST");
OutputStream os = con.getOutputStream();
OutputStreamWriter writer = new OutputStreamWriter(con.getOutputStream(),CHARSET);
writer.write(buff.toString());
writer.flush();
Status status = new Status();
status.setCode(Integer.parseInt(con.getHeaderField("STATUS_CODE")));
status.setDescription(con.getHeaderField("STATUS_DESCRIPTION"));
System.out.println(buff.toString());
return status;
}Thanks for the advice. I checked the Workflow Status monitor I did get an error...
Internal Name ECXERROR
Description XML Gateway Error Processing
Message Direction O
Error Name 1
ECX Error Type 20
ECX Return Code 1
ECX Error Message Attribute 'xmlns' used but not declared.
This seems to be an xml namespace error. Can anyone tell me how to solve this problem?
Thanks,
-Jason -
EBS R12 XML Gateway Integration - Supplier information sync with MAXIMO
Hello Guys.
Recently I'm working on a EBS R12 implementation project, as customer already has MAXIMO application, they would like keep it ask "supplier" information syncronization between Oracle EBS R12 and MAXIMO through Oracle SOA Suite 10.1.3
For EBS R12 supplier creation/update screens done, currently I found I can get supplier information out by configuring Oracle APPS adapter within Oracle ESB(Enterprise Service Bus) scenario to catch business events but may not perfect this way.
Then we would like try XML Gateway but seems there're no "supplier" related XML Gateway fit in Oracle Apdater module browser :-(
Appreciate if any one can guide/help........
Finally being in Dec at the moment, Merry Christmas to everyone first !
DongDOCUMENT_ID is numeric, yet the value passed is not:
x_value==>192124:0:102 -
Reg: XML Gateway Error while posting invoice (PROCESS_INVOICE_002 )
I'm trying to post the PROCESS_INVOICE_002 to Oracle 11i XML gateway which is supposed to route to the mentioned trading partner.
When I observed the status through Workflow Admin web App - > Transaction Monitor the message has reached the INBOUND Queue but it is not able to route it/ process it ... and goes to error state with
The Standard:OAG, Transaction Type:INVOICE , Transaction SubType:PROCESS and Location Code Bigmart is not enabled in the XML Gateway Server. Pls check your Setup.
Then I had corrected the setup with the proper TP configuration.
Now I'm getting a different error.
Kindly give me some inputs regarding this.
Now it is giving the below mentioned error. Here is the Process Summary:
Document ID blrgislin15:26ae9b47:11a9c4ae5b9:46b1
Internal Control Number 1656
External Transaction Type INVOICE
External Transaction Subtype PROCESS
Party ID
Party Type
Trading Partner Name N/A
Site Name N/A
Processing Date 19-Jun-2008 16:41:15
Processing Status Error
Processing Message ORA-06502: PL/SQL: numeric or value error: character string buffer too small - ECX_INBOUND_TRIG.WRAP_VALIDATE_MESSAGE
Processing Logfile
The XML Invoice I'm posting is :
<PROCESS_INVOICE_002>
<CNTROLAREA>
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="INVOICE">INVOICE</NOUN>
<REVISION value="002">002</REVISION>
</BSR>
<SENDER>
<LOGICALID>BigMart</LOGICALID>
<COMPONENT>INVOICE</COMPONENT>
<TASK>PROCESS</TASK>
<REFERENCEID></REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2003</YEAR>
<MONTH>09</MONTH>
<DAY>22</DAY>
<HOUR>07</HOUR>
<MINUTE>30</MINUTE>
<SECOND>18</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<PROCESS_INVOICE>
<INVHEADER>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2003</YEAR>
<MONTH>09</MONTH>
<DAY>23</DAY>
<HOUR>01</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DOCUMENTID>10000</DOCUMENTID>
<DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
<REASONCODE>INVOICE</REASONCODE>
<PARTNER>
<NAME index="1">STAPLES-LA</NAME>
<PARTNRID>STAPLES-LA</PARTNRID>
<PARTNRTYPE>SUPPLIER</PARTNRTYPE>
<ADDRESS>
<ADDRLINE index="1">22355 WEST ELEVEN MILE ROAD</ADDRLINE>
<CITY>LOS ANGELES</CITY>
<COUNTRY>US</COUNTRY>
<POSTALCODE>48034</POSTALCODE>
<STATEPROVN>CA</STATEPROVN>
</ADDRESS>
<CONTACT>
<NAME index="1">JOHN STAPLES</NAME>
<CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
<EMAIL>[email protected]</EMAIL>
</CONTACT>
</PARTNER>
</INVHEADER>
<INVLINE>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<AMOUNT qualifier="TOTAL" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<OPERAMT qualifier="UNIT" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM>EA</UOM>
</OPERAMT>
<QUANTITY qualifier="ITEM">
<VALUE>100</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>EA</UOM>
</QUANTITY>
<LINENUM>1</LINENUM>
<DESCRIPTN>1st Invoie Line</DESCRIPTN>
</INVLINE>
</PROCESS_INVOICE>
</DATAAREA>
</PROCESS_INVOICE_002>Hi, Due to some other problem with my setup, I had to reinstall E-Biz, and again did all the configuration freshly and tried posting the same xml but for the current customer configuration. It went successfully. Here is the xml I'have posted. You can try configuring your transactions and Trading Partner as given in the XML gateway User Guide, which is available as part of the documentation.
<?xml version="1.0"?>
<!DOCTYPE PROCESS_INVOICE_002 SYSTEM "171_process_invoice_002.dtd">
<PROCESS_INVOICE_002>
<CNTROLAREA>
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="INVOICE">INVOICE</NOUN>
<REVISION value="002">002</REVISION>
</BSR>
<SENDER>
<LOGICALID>Bigmart</LOGICALID>
<COMPONENT>INVOICE</COMPONENT>
<TASK>PROCESS</TASK>
<REFERENCEID></REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2008</YEAR>
<MONTH>07</MONTH>
<DAY>08</DAY>
<HOUR>07</HOUR>
<MINUTE>30</MINUTE>
<SECOND>18</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<PROCESS_INVOICE>
<INVHEADER>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2008</YEAR>
<MONTH>07</MONTH>
<DAY>08</DAY>
<HOUR>01</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DOCUMENTID>10001</DOCUMENTID>
<DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
<REASONCODE>INVOICE</REASONCODE>
<PARTNER>
<NAME index="1">BigMart</NAME>
<PARTNRID>BigMart</PARTNRID>
<PARTNRTYPE>Customer</PARTNRTYPE>
<ADDRESS>
<ADDRLINE index="1">100 Main Street Bentonville</ADDRLINE>
<CITY>Arizona</CITY>
<COUNTRY>US</COUNTRY>
<POSTALCODE>38019</POSTALCODE>
<STATEPROVN>AR</STATEPROVN>
</ADDRESS>
<CONTACT>
<NAME index="1">JOHN STAPLES</NAME>
<CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
<EMAIL>[email protected]</EMAIL>
</CONTACT>
</PARTNER>
</INVHEADER>
<INVLINE>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<AMOUNT qualifier="TOTAL" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<OPERAMT qualifier="UNIT" type="T">
<VALUE>6300</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM>EA</UOM>
</OPERAMT>
<QUANTITY qualifier="ITEM">
<VALUE>100</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>EA</UOM>
</QUANTITY>
<LINENUM>1</LINENUM>
<DESCRIPTN>1st Invoie Line</DESCRIPTN>
</INVLINE>
</PROCESS_INVOICE>
</DATAAREA>
</PROCESS_INVOICE_002> -
Outbound binding exception: No standard agreement found
Hi ,
I have 2 asynchronous FILE to IDOC scenarios. These scenario work fine most of the times but strangely some times it gives the error OUTBOUND_BINDING_NOT_FOUND (outbound binding exception: No standard agreement found for , <out_BS>, , <IN_BS>, <http://ns>, <Query_Out>)
sxmb_moni shows that in the errored messages, the interface names in the sender and receiver side are same
i.e. Outbound interface "Query_Out", but in the successful messages the interface name in the sender is "Query_Out" and in receiver is "FIDCC1_FIDCCP02".
The Scenarios were working until today when i tested it again, no changes were made to it. Every other Scenario is working except these 2 interfaces housing the same logic.
I have checked for errors in cache but none were there.
Thanks in advance.
AmithHi Amith
Check this link and find out where you have done mistake
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
Regards
Dheeraj -
Got error: Location Code is not enabled in the XML Gateway Server
Hi,
When I perform Compliance rule screening on GTM - Globel Trade Management,that I defined GTM as an Trading Partner on EBS R12.1.3,
GTM can send response to EBS,but I see the following error message via Transaction Monitor on EBS workflow:
[The Standard:OAG, Transaction Type:ITM , Transaction SubType:EXPORT_COMPLIANCE and Location Code GTM6.2 is not enabled in the XML Gateway Server. Pls check your Setup.]
On EBS,I defined an ITM Partner for GTM,named 'GTM6.2',according to the document created by you: ITM Setup.doc
and I also finished the following steps:
1. ITM Application Users
2.ITM Partner Service Types
3.ITM Parameter Setup
4.Order Type Creation: ITM Only
5.Customer Creation: create a customer named 'GTM6.2', also enter 'GTM6.2' as EDI Location
6.Define Transactions on XML Gateway as following:
<Header>:
Party Type: Customer
Transaction Type: ITM
Transaction Sub Type: EXPORT_COMPLIANCE
<External Transactions (Lines)>:
Standard Code: OAG
External Transaction Type: ITM
External Transaction Sub Type: EXPORT_COMPLAINCE
Queue: APPLSYS.ECX_IN_OAG_Q
7.Define Trading Partners on XML Gateway as following:
<Header>:
Trading Partner Type: Customer
Trading Partner Name: GTM6.2
<Trading Partner Details>:
Transaction Type: ITM
External Transaction Type: ITM
External Transaction Sub Type: EXPORT_COMPLAINCE
Map: WSHITEIN
Source Trading Partner Location Code: GTM6.2 (same as the value what defined in EDI Location for customer)
I think the combination of External Transaction Type, External Transaction Subtype, Standard Code,Source Trading Partner Location Code
should be existing once done above steps, I have no idea why the error prompted.
Does someone can tell how to trace the error?
Thanks,
Rambleruser12254038 wrote:
Can you send any supporting documents on ITM Setup? My client is implementing ITM for the first time and I wanted to know more details on how it works in R12.1.3 version of EBS?Oracle International Trade Management (ITM) Partner Integration: Specifications [ID 572524.1]
International Trade Management Integration [ID 259691.1]
How Can I Tell if International Trade Management is Installed or Not? [ID 742539.1]
What are the Required Setups for International Trade Management (ITM) Flows in Shipping Execution? [ID 782861.1]
What Patches Provide the Latest Fixes and Enhancements for ITM Adapter? [ID 465122.1]
How to Generate Debug Information From ITM Adapter for XML Processing [ID 738925.1]
How to Generate Debug File for International Trade Management (ITM) [ID 1294853.1]
Thanks,
Hussein
Maybe you are looking for
-
Why is it taking so long to update my iphone 5 to ios 8
Why is it taking so long(40 Hours) to update iphone 5 to ios 8?
-
Dear All, I need to create quick POC that will involve provisioning to multiple resources during OIM profile creation. One consolidated e-mail notification should be sent as a result. 1. I never used simulated/fake/manual resource. If you used it in
-
How to present SAP R/3 data in SQL Server 2005 Reporting service?
Our company is using SharePoint Portal Server 2003 as our intranet. We are also using SAP R/3 4.6C to run their business. There are huge amount of important data in SAP database. There ere are business needs to present SAP data on SharePoint pages wh
-
Dear All, I have an interesting scenario for IHC. Is there a way of checking and stopping duplicate payment requests. My scenario is as follows: Step 1: Execute payment run for subsidiary for external vendor payments (F110). This creates an IDoc and
-
How to do a Get-ADGroup and pass SamAccountName with spaces
Hi, I read a text file of groups in SamAccountName form into a variable, then do a Get-ADgroup to ensure they are in a specific SearchBase, then I want to delete them if found in the Searchbase. Problem is the SamAccountNames have spaces in them and