Im getting error whil invoking webservices
hi
i am getting error when i am trying to invoke web service in bepl invoking. I can invoke file adapter and DB adapters but i can not invoke web service i got this error.
May 24, 2012 3:19:20 PM Started invocation of operation "process" on partner "Service1".
May 24, 2012 3:19:20 PM Faulted while invoking operation "process" on provider "Service1".
<messages>
<input>
<Invoke1_process_InputVariable>
<part name="payload">
<process>
<input>11111111</input>
</process>
</part>
</Invoke1_process_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</summary>
</part>
<part name="detail">
<detail>oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</detail>
</part>
</remoteFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
</messages>
and my wsm-pm is targeting only soa and bam now i changed to only admin but still its not working.
Thanks for your Post
Invoking is working with File or Database Adapters.when i am invoking a web services in BPEL then i am getting the error.
My code and Program is fine.Everyone getting same error when they using this servers. If i use another servers its working i am not getting error.
<summary> java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
</summary>
</part>
-<part name="detail">
<detail>
oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
</detail>
</part>
Similar Messages
-
Errors while invoking webservice
I am getting below error while invoking webservice in jdev:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Failure in SDOSerializer.deserialize.</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
I can see only below log in jdev server log :
<oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
<oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
could anybody help me to understand what gone wrong ?This thread might help you:
Problems invoke Web Service -
Error while invoking webservice throu https
Error while invoking webservice throu https://
can any one help me on this topic please:
CODE:
SOAPConnection con = null;
try{
String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
//String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
//String endpoint = args[0];
//String soapAction = args[1];
System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
System.setProperty("javax.net.ssl.trustStorePassword","password");
System.setProperty("javax.net.ssl.keyStorePassword","password");
// use Sun's reference implementation of a URL handler for the "https" URL protocol type.
//System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
// dynamically register sun's ssl provider
System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
//Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
System.setProperty("javax.net.debug","ssl,handshake");
SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
con = connectionFactory.createConnection();
MessageFactory messageFactory = MessageFactory.newInstance();
SOAPMessage message = messageFactory.createMessage();
SOAPPart soapPart = message.getSOAPPart();
SOAPEnvelope envelope = soapPart.getEnvelope();
SOAPBody body = envelope.getBody();
// MimeHeaders headers = message.getMimeHeaders();
// headers.addHeader("SOAPAction", soapAction);
// headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
// headers.addHeader("Content-Type","text/xml");
// headers.addHeader("charset","utf-8");
MimeHeaders headers = message.getMimeHeaders();
headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
headers.addHeader("Content-Type","text/xml");
headers.addHeader("charset","utf-8");
StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
soapPart.setContent(inputmsg);
System.out.println("REQUEST:\n");
message.writeTo(System.out);
System.out.println();
message.saveChanges();
SOAPMessage reply = con.call(message, new URL(endpoint));
System.out.println("RESPONSE:\n"+reply.toString());
System.out.println("Header:::"+reply.getSOAPHeader());
System.out.println("Body:::"+reply.getSOAPBody());
System.out.println("RESPONSE:\n");
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
//Extract the content of the reply
Source responseContent = reply.getSOAPPart().getContent();
//Set the output for the transformation
StreamResult result = new StreamResult(System.out);
transformer.transform(responseContent, result);
System.out.println();
}catch(Exception e){
e.printStackTrace();
finally{
con.close();
Exception:
10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0009: Message send failed
com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
at com.Sample.main(Sample.java:91)
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 1 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
... 4 more
CAUSE:
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.Sample.main(Sample.java:91)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
... 4 more
CAUSE:
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.Sample.main(Sample.java:91)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
... 4 more
Edited by: javausers07 on Nov 10, 2008 11:58 AMI hope the sun forum can help for me. Lets see
-
Get error while invoking a page with "create"
I get this error while invoking a page with "create". Also please any one tell me where is the log file is place to see the full story.
]] Root cause of ServletException.
javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:199)
Truncated. see log file for complete stacktrace
If i use a "create button then it does not throw error.
Please help.When you are invoking your page, does your view object has an empty row where data can go and presist?
Create a an empty row in your view object(vo.createRow()) , or use create operation from data control palette.
You can set the log in Tools->Preferences-->Environment-->Log.
Regards,
Vikram -
Error while invoking Webservice API ItemService_GetItemInformation
The following error is encountered while invoking Webservice API "ItemService_GetItemInformation"
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>wsse:InvalidSecurity</faultcode>
<faultstring>Missing <wsse:Security> in SOAP Header</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Same is repeated even after passing
RESPONSIBILITY_NAME => Inventory
RESPONSIBILITY_APPL_NAME => INV
SECURITY_GROUP_NAME => Standard
NLS_LANGUAGE => AMERICAN
Any pointer for the root cause of this error & how to resolve this?
Thanks In Advance!
priyadarshiHi ..
The error meaning: you need input the user_name and password for the SOAPHeader -
Security Error while invoking Webservice
Hi,
We have a BPEL flow that invokes a ADF BC webservice that is running in a different Weblogic instance.
Getting the following error on invoke activity that call the ADF BC service.
<remoteFault>
<part name="summary">
<summary>InvalidSecurity : error in processing the WS-Security security header</summary>
</part>
<part name="detail">
<detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : InvalidSecurity : error in processing the WS-Security security header</detail>
</part>
<part name="code">
<code>{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity</code>
</part>
</remoteFault>
Whereas, when I call the ADF service through Webservice Tester, the call goes through fine.
Any additional settings has to be done on the SOA server for this work?
Any pointers in solving this would be helpful.
ThanksI hope the sun forum can help for me. Lets see
-
Error while invoking webservice in bipublisher 10g
Hi All,
When we are invoking webservice from bi publisher 10g we are getting the following error.
Error: java.util.arraylist
Can any one help us.
Thanks.Is there any log you can paste here
you should have the logs in
~BIPublisherTrialEdition\bip\server\domains\bipdomain\servers\bipserver\logs -
Getting error while invoking wsdl
Hi,
I have installed WCC 11.1.1.6. I have downloaded the WSDL from WebCenter Content for CheckIn. While hitting the WSDL through SOAPUi, I got the error "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11".
Any help is highly appreciated.
Thanks.Hi Srinath,
I am still getting error and not proper response. Below is the error:
Mon May 27 13:23:26 IST 2013:ERROR:org.apache.http.client.ClientProtocolException
org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:236)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:241)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.ProtocolException: Content-Length header already present
at org.apache.http.protocol.RequestContent.process(RequestContent.java:67)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108)
at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.preProcess(HttpClientSupport.java:106)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:452)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
... 11 more -
Error while invoking webservice using UTL_HTTP from PL/SQL Block
Hi All,
I am invoking a webservice (SOAP Request) from a PL/SQL block using UTL_HTTP package.
I am able to send the complete request and am getting the required instance on the BPEL Console, but the process is erroring out while getting response back.
and the PL/SQL Block is ending in error mentioned below:
ERROR at line 1:
ORA-29266: end-of-body reached
ORA-06512: at "SYS.UTL_HTTP", line 1321
ORA-06512: at "APPS.CSM_BPEL_TEST_PKG", line 34
ORA-06512: at line 1
Package is completing successfully if i test in local DB and local BPEL.
But giving above error in client's.
Can anyone let me know what is the cause of this.
Thanks in advanceI got it working by making process Synchronous.
But with asynchronous process it is still same error.
Thanks... -
Error while invoking webservice using UTL_HTTP package
Hi All,
I am invoking a webservice (SOAP Request) from a PL/SQL block using UTL_HTTP package.
I am able to send the complete request and am getting the required instance on the BPEL Console, but the process is errorring out while getting response back.
and the PL/SQL Block is ending in error mentioned below:
ERROR at line 1:
ORA-29266: end-of-body reached
ORA-06512: at "SYS.UTL_HTTP", line 1321
ORA-06512: at "APPS.CSM_BPEL_TEST_PKG", line 34
ORA-06512: at line 1
Can anyone let me know what is the cause of this.
Thanks in advanceMy guess would be that your request is not properly constructed,
29266, 00000, "end-of-body reached"
// *Cause: The end of the HTTP response body was reached.
// *Action: If the end of the HTTP response is reached prematurely, check if
// the HTTP response terminates prematurely. Otherwise, end the
// HTTP response.John -
JBIMR0025 JBI Error while invoking webservices
Hi All,
We have exposed a webservice in websphere server (JAVA 1.6 ) using JAX RPC. This webservice works perfectly fine, when tested using SOAP UI.
This webservice is consumed by an external team, seems like they are trying to consume it using JBI Open ESB. When the external team is trying to invoke the same webservice it is failing with the following error :
[#|2013-10-17T15:40:03.102-0700|WARNING|sun-appserver2.1|com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=41;_ThreadName=HTTPBC-OutboundReceiver-5;_RequestID=e410120b-07ac-42e6-8eb6-9bef3cebbe93;|HTTPBC-E00759: An exception occured while processing a reply message. HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation lowTouchServiceTwoRating.
javax.jbi.messaging.MessagingException: HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation lowTouchServiceTwoRating.
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1088)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:661)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:243)
at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
|#]
[#|2013-10-17T15:40:03.102-0700|WARNING|sun-appserver2.1|com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider|_ThreadID=42;_ThreadName=HTTPBC-OutboundReceiver-1;_RequestID=ec51ff09-a896-4577-abc5-6299c83e3254;|HTTPBC-E00799: Message denormalization failed
javax.jbi.messaging.MessagingException: javax.jbi.messaging.MessagingException: HTTPBC-E00799: Message denormalization failed
at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSDenormalizer.denormalize(JAXWSDenormalizer.java:102)
at com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider.onReply(AsyncJBIProvider.java:255)
at com.sun.jbi.httpsoapbc.MessageExchangeSupport.notifyOfReply(MessageExchangeSupport.java:108)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyInbound(OutboundMessageProcessor.java:423)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:241)
at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jbi.messaging.MessagingException: HTTPBC-E00799: Message denormalization failed
at com.sun.jbi.httpsoapbc.SoapDenormalizer.denormalize(SoapDenormalizer.java:226)
at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSDenormalizer.denormalize(JAXWSDenormalizer.java:92)
... 8 more
Caused by: com.sun.jbi.nms.wsdl11wrapper.WrapperProcessingException: The WSDL definition provided does not contain a definition for the normalized message {http:/lowtouch.uwc.kp.org/wsdl/LowTouchProcess}SOAPFault
at com.sun.jbi.nms.wsdl11wrapper.impl.WrapperParserImpl.parse(WrapperParserImpl.java:83)
at com.sun.jbi.httpsoapbc.SoapDenormalizer.denormalize(SoapDenormalizer.java:189)
... 9 more
|#]
[#|2013-10-17T15:40:03.118-0700|WARNING|sun-appserver2.1|com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=42;_ThreadName=HTTPBC-OutboundReceiver-1;_RequestID=ec51ff09-a896-4577-abc5-6299c83e3254;|HTTPBC-E00759: An exception occured while processing a reply message. javax.jbi.messaging.MessagingException: HTTPBC-E00799: Message denormalization failed
javax.jbi.messaging.MessagingException: javax.jbi.messaging.MessagingException: HTTPBC-E00799: Message denormalization failed
at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSDenormalizer.denormalize(JAXWSDenormalizer.java:102)
at com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider.onReply(AsyncJBIProvider.java:255)
at com.sun.jbi.httpsoapbc.MessageExchangeSupport.notifyOfReply(MessageExchangeSupport.java:108)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyInbound(OutboundMessageProcessor.java:423)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:241)
at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jbi.messaging.MessagingException: HTTPBC-E00799: Message denormalization failed
at com.sun.jbi.httpsoapbc.SoapDenormalizer.denormalize(SoapDenormalizer.java:226)
at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSDenormalizer.denormalize(JAXWSDenormalizer.java:92)
... 8 more
Caused by: com.sun.jbi.nms.wsdl11wrapper.WrapperProcessingException: The WSDL definition provided does not contain a definition for the normalized message {http:/lowtouch.uwc.kp.org/wsdl/LowTouchProcess}SOAPFault
at com.sun.jbi.nms.wsdl11wrapper.impl.WrapperParserImpl.parse(WrapperParserImpl.java:83)
at com.sun.jbi.httpsoapbc.SoapDenormalizer.denormalize(SoapDenormalizer.java:189)
... 9 more
|#]
[#|2013-10-17T15:40:03.118-0700|WARNING|sun-appserver2.1|com.sun.jbi.engine.bpel.BPELSEInOutThread|_ThreadID=16;_ThreadName=BPELSEInOutThread0;_RequestID=aed9924b-a298-49ae-b86b-aaaaa47e2193;|BPJBI-6004:caught exception while processing message
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:230)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:191)
|#]
[#|2013-10-17T15:40:03.118-0700|WARNING|sun-appserver2.1|com.sun.jbi.engine.bpel.BPELSEHelper|_ThreadID=16;_ThreadName=BPELSEInOutThread0;_RequestID=aed9924b-a298-49ae-b86b-aaaaa47e2193;|BPJBI-6001:Sending ERROR status (Service Name = {http://lowtouch.uwc.kp.org/bpel/LowTouchService/LowTouchGetRatingDataProcess}LowTouchGetRatingDataProcess, Endpoint Name = LowTouchGetRatingDataProcessPortTypeRole_myRole, Operation Name = {http://lowtouch.uwc.kp.org/wsdl/LowTouchGetRatingDataProcess}LowTouchGetRatingDataProcessOperation, Message Exchange Id = 151561174326859-64975-136013424009460107)
Error properties
com.sun.jbi.crl.faultcode = Server
com.sun.jbi.crl.faultstring = null
com.sun.jbi.crl.faultactor = sun-bpel-engine
com.sun.jbi.crl.faultdetail =
null
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:230)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:191)
|#]
[#|2013-10-17T15:40:03.118-0700|WARNING|sun-appserver2.1|com.sun.jbi.engine.bpel.BPELSEInOutThread|_ThreadID=16;_ThreadName=BPELSEInOutThread0;_RequestID=aed9924b-a298-49ae-b86b-aaaaa47e2193;|BPJBI-6004:caught exception while processing message
java.lang.IllegalStateException: JBIMR0025: Unexpected illegal state change. Pattern (http://www.w3.org/2004/08/wsdl/in-out) TARGET-State (5)
at com.sun.jbi.messaging.MessageExchangeProxy.nextState(MessageExchangeProxy.java:787)
at com.sun.jbi.messaging.MessageExchangeProxy.setError(MessageExchangeProxy.java:311)
at com.sun.jbi.engine.bpel.BPELSEHelper.sendError(BPELSEHelper.java:253)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:328)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:191)
|#]
Any idea what could be the root cause for the above error ?Sabarish,
Are you using Workshop to invoke this Web Service ? If you are please attach
the wsdl for the wls 61sp4 Web Service. If you are not using Workshop and
are using WebLogic Web Service, please post this question in the
weblogic.developer.interest.webservices newsgroup.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sabarish" <[email protected]> wrote in message
news:3f45d759$[email protected]..
Folks,
I am using WL6.1 sp4. I generated a webservice using the wsgen anttask. It got deployed without error. Now, when I try to invoke the service I
get the following error :
>
Exception in thread "main" java.io.IOException: Server returned HTTPresponse co
de: 500 for URL: http://192.168.149.224:7001/chws/chwsuri
atsun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:604)
atsun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
Connection.java:903)
atweblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
55)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:523)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:492)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at DClient.main(DClient.java:28)
Any pointers to this.
Thanx in advance
--Sabarish -
Access Denied Error While invoking WebService Method
Hi,
When i am trying to invoke web service method from client machine, it throws an Error 401 - Access Denied (Detail Error Shown below)....
Please let me know to set WindowsAuthentication UserName and Password in WebService calling through Java. Here Iam using Stub class to connect WebService through Java...
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Access Denied
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html dir=ltr>
<head>
<style>
a:link {font:8pt/11pt verdana; color:FF0000}
a:visited {font:8pt/11pt verdana; color:#4e4e4e}
</style>
<META NAME="ROBOTS" CONTENT="NOINDEX">
<title>You are not authorized to view this page</title>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
</head>
<script>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
DocURL=document.URL;
//this is where the http or https will be, as found by searching for :// but skipping the res://
protocolIndex=DocURL.indexOf("://",4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);
//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
InsertElementAnchor(urlresult, displayresult);
function HtmlEncode(text)
return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g, '<').replace(/>/g, '>');
function TagAttrib(name, value)
return ' '+name+'="'+HtmlEncode(value)+'"';
function PrintTag(tagName, needCloseTag, attrib, inner){
document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );
if (needCloseTag) document.write( '</' + tagName +'>' );
function URI(href)
IEVer = window.navigator.appVersion;
IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );
return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?
encodeURI(href) :
escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');
function InsertElementAnchor(href, text)
PrintTag('A', true, TagAttrib('HREF', URI(href)), text);
//-->
</script>
<body bgcolor="FFFFFF">
<table width="410" cellpadding="3" cellspacing="5">
<tr>
<td align="left" valign="middle" width="360">
<h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->You are not authorized to view this page</h1>
</td>
</tr>
<tr>
<td width="400" colspan="2">
<font style="COLOR:000000; FONT: 8pt/11pt verdana">You do not have permission to view this directory or page using the credentials you supplied.</font></td>
</tr>
<tr>
<td width="400" colspan="2">
<font style="COLOR:000000; FONT: 8pt/11pt verdana">
<hr color="#C0C0C0" noshade>
<p>Please try the following:</p>
<ul>
<li>Click the Refresh button to try again with different credentials.</li>
<li>If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the
<script>
<!--
if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
Homepage();
//-->
</script>
home page.</li>
</ul>
<h2 style="font:8pt/11pt verdana; color:000000">HTTP 401.2 - Unauthorized: Logon failed due to server configuration<br>
Internet Information Services</h2>
<hr color="#C0C0C0" noshade>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Background:<br>
This is usually caused by a server-side script not sending the proper WWW-Authenticate header field. Using Active Server Pages scripting this is done by using the <strong>AddHeader</strong> method of the <strong>Response</strong> object to request that the client use a certain authentication method to access the resource.
<p>
<li>More information:<br>
Microsoft Support
</li>
</p>
</ul>
</font></td>
</tr>
</table>
</body>
</html>
{http://xml.apache.org/axis/}HttpErrorCode:401
(401)Access Denied
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at engine.citynet_dta.IDTAEngineStub.sendMessage(IDTAEngineStub.java:219)
at test.Test.main(Test.java:37)I hope the sun forum can help for me. Lets see
-
Error while invoking webservice
i am trying to use webservice (by using data->import
wsdl). I am sending request (invoking web method by using classes
generated after imporing wsdl).
Here is the code i m trying.
public function getCompanyInfoById(companyId:String):void
var wsNML:CampaignSettings =new CampaignSettings();
wsNML.addgetCompanyInfoByIdEventListener(getCompanyInfo);
//wsNML.addCampaignSettingsFaultEventListener(faultHandler);
wsNML.getCompanyInfoById(companyId);
private function
getCompanyInfo(e:GetCompanyInfoByIdResultEvent):void
var companyInfo:ArrayOfCampaignSettingsCDO=new
ArrayOfCampaignSettingsCDO();
companyInfo=e.result;
companyInfo.removeItemAt(0);
//logic continues....
the same code is working fine for my other web methods(for my
another web services). Also the same is working fine when i use the
same web service in some other project. but when i use this
webservice in my original project, its not working. its throwing
the following error:
"ReferenceError: Error #1065: Variable
ArrayOfCampaignSettingsCDO is not defined.
at global/flash.utils::getDefinitionByName()
at
mx.rpc.xml::SchemaTypeRegistry/getCollectionClass()[E:\dev\flex_3_beta3\sdk\frameworks\pr ojects\rpc\src\mx\rpc\xml\SchemaTypeRegistry.as:106]
at
mx.rpc.xml::XMLDecoder/createContent()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\sr c\mx\rpc\xml\XMLDecoder.as:1830]
at
mx.rpc.xml::XMLDecoder/decode()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rp c\xml\XMLDecoder.as:168]
at
mx.rpc.soap::SOAPDecoder/decodeBody()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src \mx\rpc\soap\SOAPDecoder.as:439]
at
mx.rpc.soap::SOAPDecoder/decodeEnvelope()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc \src\mx\rpc\soap\SOAPDecoder.as:291]
at
mx.rpc.soap::SOAPDecoder/decodeResponse()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc \src\mx\rpc\soap\SOAPDecoder.as:223]
at
generated.webservices::BaseCampaignSettings/processResult()[D:\Projects\NML2008\wsdl\gene rated\webservices\BaseCampaignSettings.as:411]
at
mx.rpc::AsyncResponder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rp c\AsyncResponder.as:73]
at
mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx \rpc\AsyncRequest.as:81]
at
DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()"
Please help me out.hi kcell, thanks 4 ur help.
here is the wsdl:
<?xml version="1.0"
encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"
xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="
http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="
http://www.w3.org/2001/XMLSchema"
xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="
http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="
http://microsoft.com/wsdl/mime/textMatching/"
xmlns:tns="
http://tempuri.org/"
targetNamespace="">
http://tempuri.org/">
<wsdl:types>
<s:schema elementFormDefault="qualified"
targetNamespace="">
http://tempuri.org/">
<s:element name="GetCompanyInfoById">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="companyId"
type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCompanyInfoByIdResponse">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0"
name="GetCompanyInfoByIdResult"
type="tns:ArrayOfCampaignSettingsCDO"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfCampaignSettingsCDO">
<s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0"
name="CampaignSettingsCDO" nillable="true"
type="tns:CampaignSettingsCDO"/>
</s:sequence>
</s:complexType>
<s:complexType name="CampaignSettingsCDO">
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="companyId"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="companyName"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0"
name="companyAddress1" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0"
name="companyAddress2" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="companyCity"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="companyState"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="companyZip"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0"
name="companyWebAddress" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="userId"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="salutation"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="firstName"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="lastName"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="title"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="workPhone"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="email"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="password"
type="s:string"/>
</s:sequence>
</s:complexType>
</wsdl:types>
<wsdl:message name="GetCompanyInfoByIdSoapIn">
<wsdl:part element="tns:GetCompanyInfoById"
name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetCompanyInfoByIdSoapOut">
<wsdl:part element="tns:GetCompanyInfoByIdResponse"
name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:operation name="GetCompanyInfoById">
<wsdl:input message="tns:GetCompanyInfoByIdSoapIn">
</wsdl:input>
<wsdl:output message="tns:GetCompanyInfoByIdSoapOut">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CampaignSettingsSoap12"
type="tns:CampaignSettingsSoap">
<soap12:binding transport="">
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetCompanyInfoById">
<soap12:operation soapAction="
http://tempuri.org/GetCompanyInfoById"
style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetCompanyInfoById">
<soap:operation soapAction="
http://tempuri.org/GetCompanyInfoById"
style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CampaignSettings">
<wsdl:port binding="tns:CampaignSettingsSoap12"
name="CampaignSettingsSoap12">
<soap12:address location="">
http://localhost/NML/CampaignSettings.asmx"/>
</wsdl:port>
<wsdl:port binding="tns:CampaignSettingsSoap"
name="CampaignSettingsSoap">
<soap:address location="">
http://localhost/NML/CampaignSettings.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
regarding "Another question: why you use a temp
CampaignSettings variable in the getCompanyInfoById function?
Doesn´t it make sense to have the CampaignSettings
variable as member variable of the class (or as global member of
the app if you didn't use classes )" :
i am using the object of my webservice (object of the class
generated after importing WSDL) to invoke the webmethod.
Is there any other way for calling the webmethods.??
Also, the same code is working fine if i import the same
webservice in some other project, while its throwing the error in
this project.
Regards,
Shaveta -
Getting error while publishing WebService project on Oracle Weblogic 10.3.1
I am trying to publish my WebService project on weblogic 10.3.1 through Oracle Workshop. I am getting following exception will deploying my application
<Jun 26, 2009 4:59:02 PM GMT+05:30> <Alert> <HTTP> <BEA-101027> <[weblogic.servlet.internal.WebAppServletContext@34c0bd - appName: '_auto_generated_ear_', name: 'COBWSProject', context-path: '/COBWSProject', spec-version: '2.5'] Document root: "C:\bea\user_projects\workspaces\default1\COBWSProject\build\jws\weboutput" does not exist.>
<Jun 26, 2009 4:59:02 PM GMT+05:30> <Error> <HTTP> <BEA-101220> <Error occurred while setting document root for "weblogic.servlet.internal.WebAppServletContext@34c0bd - appName: '_auto_generated_ear_', name: 'COBWSProject', context-path: '/COBWSProject', spec-version: '2.5'" to "C:\bea\user_projects\workspaces\default1\COBWSProject\build\jws\weboutput".>
<Jun 26, 2009 4:59:02 PM GMT+05:30> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_auto_generated_ear_' due to error weblogic.application.ModuleException: Failed to load webapp: 'COBWSProject'.
weblogic.application.ModuleException: Failed to load webapp: 'COBWSProject'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.io.IOException: document root (C:\bea\user_projects\workspaces\default1\COBWSProject\build\jws\weboutput) does not exist.
at weblogic.servlet.internal.WebAppConfigManager.getDocrootFile(WebAppConfigManager.java:644)
at weblogic.servlet.internal.WebAppServletContext.processDocroot(WebAppServletContext.java:2651)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:2552)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:388)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:456)
Truncated. see log file for complete stacktrace
>
Please let us know the solution for the same. Thanks in Advance !As a workaround, after doing a "Clean All" and just before doing a "Build All", I created a "weboutput" folder manually under the 'build' folder in the web project in Workshop. That worked for me.
[For some reason, everytime we do a "Clean", it deletes the 'weboutput' folder that it depends on ,even though it always remains empty].
Hope this helps ! -
Message older than allowed MessageAge Error while invoking webservice
Hi,
I have a web service using, implementation is annotated with Wssp1.2-2007-Https-UsernameToken-Plain.xml Policy. I am using a java client based no static Service model to connect to the server.
When I try to connect to the webservice from local machine it works fine.
If I connect from a remote machine below exception is thrown. Even If I set both machines to same time zones and tame same exception is thrown.
( client running on windows, server running on linux)
How can I fix this ? Is there a way to configure MessageAge ? or disable it ?
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Security token
failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@18216e3[
status: false][msg UNT Error:Message older than allowed MessageAge]
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav
a:196)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde
r.java:122)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at $Proxy36.getAllRootDisTags(Unknown Source)
at SampleNIClient.main(SampleNIClient.java:75)Hello -
This is the webservice policy violation from client side.
Mainly the time difference is the route cause.
By default WLS will allow up to 300 sec for client message.
You can change the setting by editing the following...
Go to Security Realms >myrealm >Providers >DefaultIdentityAsserter
Then edit Digest Expiration Time Period value according to your requirement.
Regards,
Justin.
Maybe you are looking for
-
Packing in WS_DELIVERY_UPDATE
I am updating the packing for an existing delivery using WS_DELIVERY_UPDATE. The HU's are being updated with no problem, but the the Packing Status is not being updated (VBUK-PKSTK).
-
Title bar gets squashed when a link opens in new window.
It doesn't happen when i click "open in new window" but only when I click a link that opens in new window automatically. The title bar gets narrower so the tab goes outside the screen. After minimizing and maximizing again it becomes OK. It's the sam
-
Hi Guys, Quick question :) I need to set up alerts of the SQL server, do i need to restart the agent services after configuring db mail and alerts? Thanks in advance!
-
Tips for Recording Mesa Boogie Stack
The guitar player I'm working with now has the best rig I've recorded so far, full Mesa Boogie setup, Triple Rectifier head, 2X12 open back cab and 4X12 cab. I typically mic at the standard 45deg off axis, ~1-2" away from the cone with a 57 and a Blu
-
3D Dial Gauge - Color Change in Arc
Hi, i am using 3D Dial gauge. i want to change the range for red, green and yello arcs. In default, it display red arc from 0 to 60. but i want to display green here and then yellow then red for some range. how to do it? -senthil