HTTP 404 on ESB Test Web Service
Hi,
I cannot test my ESB service anymore cause, when i click on Test Web Service page of my Enterprise Manager, I receive an HTTP 404 error.
I can't see any error log which colud help my understand the reason for this.
Hoping it can help: this situation started few days ago, while i was trying to create an AQ JMS queue, modifying some configuration files like application.xml, jms.xml and data-sources.xml
I'll appreciate any kind of help
Hi,
I've figured out the cause for previous quoted problem:
in default-web-site.xml configuration file of /j2ee/home I've found a propery ohs-routing set to false.
In forum's thread "Use HTTPS to access webservice on standalone OC4J" that property wasn't set, so I removed it and magically now it works!
My question now is, which event caused such a change in default-web-site.xml file? How can I prevent or even controll it?
Thank you,
Lisa
Similar Messages
-
Is it possible to test Web Service operation from Browser
Hi,
I'm new with Web Logic and Web Service.
Weblogic version: 10.3.5
SOAP Web Service with RPC/Literal message format
Created a Web Service and deployed that onto Web Logic.
Also managed to get the WSDL page. However, when i tried to invoke one of the method from a web browser, it gives me a 404 Error. Not found.
WSDL URL
http://localhost:7778/self_service-self_service-context-root/self_servicePort?WSDL
Method:
<WL5G3N0:operation name="trivialProc">
<WL5G3N3:operation soapAction="http://package/Self_service.wsdl/trivialProc"/>
<WL5G3N0:input>
<WL5G3N3:body use="literal" parts="String_1 Integer_2 String_3" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N3:body use="literal" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:output>
</WL5G3N0:operation>
Is it possible to test Web Service method through browser?
I used Web Service on OC4J previously, and I was able to test the method directly from a web browser.
Thanks
Regards,
Andiyou can test web service using testclient option in weblogic
for more information please check below link
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/TestAWebService.html
http://docs.oracle.com/cd/E13224_01/wlw/docs100/guide/webservices/WSTutorial/tutWebSvcStep4.html
Regards,
Sunil P -
Error while executing Test Web Service
Hi,
I get an error while trying to test the web service deployed on Weblogic 10.3.1 through jdeveloper 11.1.1.1.0.
This simple web service is created by following the example in http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_16/ccset16_ALL.html
After deploying the web service, the Test Web service Event in the Enterpise manager results in error. The error is as follows : -
The selected operation processRating could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException
+ java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:570) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run+…………………………..
Has anyone encountered this error ?
Thanks.HI,
RFc is not called becuase:
1. we tried RFC debuggin with proper user. it never stopped at break point.
2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
The import bindings are proper. We tried using .execute(1) , nothing happened.
We are able execute freely avaliable Web service but not the one exposed from PI.
Hence we feel their is problem between PDF and PI itself.
The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
Thanks and Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM -
Why JDEVADF11.1.1.3 can not test web service in IE for Integrated WebLogic
Hi,
Testing a web service deployed to Integrated WebLogic Server.
1.When you deploy the web service to Integrated WebLogic Server, examine the contents of the log window. Find http://IP_address:port/Project1-context-root/MyWebService1
2.Copy the URL and paste it into browser. The browser shows a simple page which lists the operations available on the service.
3.Enter a parameter, and click Enter. The result from the web service is displayed.
My question:
Why only display Web Services Endpoint and Information . Can not have Enter a parameter and operations available on the service.
HttP analyzer test web service is OK.
ThanksHi,
That is because you are looking at the endpoint information.
If you want to test the service in a browser, then you can use the Weblogic Test Client.
When your Integrated WLS is running, point the browser to the following url: http://localhost:7101/wls_utc/
Thanks,
Vishal -
Hi.
Could you please help me to resolve this issue.
I have SCOM 2012 installed to monitor environment with Exchnage 2010 SP3. There are 2 sites with Exchnage servers within the organization. There are 2 mailboxes being created to test both sites.
I am getting following alert:
Alert: WebServices connectivity (Internal) transaction failure - The credentials can't be used to test Web Services.
description: The test mailbox was not initialized. Run new-TestCasConnectivityUser.ps1 to ensure that the test mailbox is created.
Detailed information:
[Microsoft.Exchange.Monitoring.CasHealthUserNotFoundException]: The user wasn't found in Active Directory. UserPrincipalName: extest*****@****.local. Additional error information: [System.Security.SecurityException]:
Logon failure: unknown user name or bad password.
Diagnostic command: "Test-WebServicesConnectivity -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true"
EventSourceName: MSExchange Monitoring WebServicesConnectivity Internal
I have tried the next steps:
1. Verified that mailbox is exist and it's not locked (same for the second mailbox)
2. Deleted those mailboxes and created a new using new-TestCasConnectivityUser.ps1 verified that this mailbox is visible on all DC's accross the forest (both mailboxes)
and that temporary password was accepted;
3. Cleared the cache on the SCOM 2012;
4. Still getting the same alert
I will really appriciate any help.
Thanks.Hi,
Hope these posts help you:
http://thoughtsonopsmgr.blogspot.ca/2013/11/exchange-server-2010-mp-no-synthetic.html
https://social.technet.microsoft.com/Forums/systemcenter/en-US/437f2bbb-cd96-40c3-8c56-6d4d176a9520/exchange-2010-mp-constantly-throws-webservices-connectivity-internal-transaction-failure?forum=operationsmanagermgmtpacks
Natalya
### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer -
Error in ejbCreate using a Test Web Service
Hi,
I'm new to the Bea and j2ee worlds and I'm following the steps of "Getting Started: Enterprise JavaBeans" in "Tutorials".
I've done "Step 4: Test the EJBs" but during the test (with a Test Web Service) these exceptions raised:
Exception in hello
javax.transaction.TransactionRolledbackException: Error in ejbCreate:: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
; nested exception is:
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
Caused by: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
... 46 more
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:897)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at hello.HelloBean.ejbCreate(HelloBean.java:27)
at hello.Hello_oztp1s_Impl.ejbCreate(Hello_oztp1s_Impl.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:110)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:137)
at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:69)
at hello.Hello_oztp1s_EOImpl.hello(Hello_oztp1s_EOImpl.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:665)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
at helloControl.helloBeanCtrl.hello(helloBeanCtrl.ctrl)
at helloControl.helloBeanCtrlTest.hello(helloBeanCtrlTest.jws:22)
Everything has gone well until Step 3. I've done everything tutorial has said (ejb-local-ref, etc..) but it doesn't work.
Probably it's a stupid error, but I don't know where I have to look for.
Thank you and sorry, but I've never seen Bea Workshop!
mHi
You can use a java web service to publish a Web service from a Java class.
A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
Hope that helps!
Cheers
A -
Load testing web service with JMeter
Hi,
Has anyone had success with using JMeter to load test Web Service generated by Jdev and deploy on iAS904?
Thanks,
Charles Lihi
Calling user needs authorization object S_SERVICE
regards
afzal -
Error on page when trying to test web service in EM
Hi,
I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
"Line: 94
Char: 1
Error: Object expected
Code: 0"
For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
Thanks in advance!
KerstinUpdate:
Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
Line: 145
Char: 97
Error: Expected ';'
Code: 0
My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
Please, please help me with this! The deadline is in a few days... -
Further invastigating ther error mentioned here:
https://social.msdn.microsoft.com/Forums/azure/en-US/14afa50f-287d-4158-852a-c9532f9f30eb/test-published-web-service-experiment-error-with-status-code-400?forum=MachineLearning
I have made an even simpler experiment with two python scirpt modules. The experiment again runs fine in Azure ML Studio but fails in the web service test with the error
Error code: InternalError, Http status code: 500, Request id: 53eef674-190a-4f63-bdc6-a072a45a9c72, Timestamp: Fri, 24 Apr 2015 09:30:37 GMT
The experiment consists only of two python script modules. The code of the first module:
import numpy as np
import pandas as pd
def azureml_main(dataframe1 = None, dataframe2 = None):
dataframe1.loc[1] = ["U5000","resB",np.nan]
dataframe1.loc[2] = ["U5000","resC",2]
dataframe1.loc[3] = ["U5000","resD",2]
dataframe1.loc[4] = ["U5000","resE",np.nan]
dataframe1.loc[5] = ["U6000","resA",np.nan]
dataframe1.loc[6] = ["U6000","resB",1]
dataframe1.loc[7] = ["U6000","resC",2]
dataframe1.loc[8] = ["U6000","resD",np.nan]
dataframe1.loc[9] = ["U6000","resE",1]
dataframe1['hasRated'] = pd.Series(1, index=dataframe1.index).astype(bool)
df_new = pd.DataFrame()
df_new = pd.DataFrame(dataframe1[["restaurant","rating","hasRated"]])
return df_new,
The code of the second module that takes as input the result of the first module:
def azureml_main(dataframe1 = None, dataframe2 = None):
return dataframe1,
A url of a screenshot taken from the experiment.
http://i.imgur.com/4nrbneA.png
Please respond. Again I am using a free workspace of Azure ML Studio.
Thank you very muchThank you for your quick reply.
I hope you will be able to resolve this issue soon.
asavvopoulos -
Testing web service results in no response, but HTTP Error 500
Hi All,
I've already solved my problem, but I wanted to share my results. It took two days of pain, so you could imagine how wonderful I felt when it was solved. :)
Problem: I am exposing PL/SQL procedures as web services, using JDeveloper 10.1.3. I noticed that when I expose procedures that return complex types (like records), it caused all of the web service calls to die silently. I couldn't see any other errors except Apache's HTTP 500 error. But when I ran the web service locally using JDeveloper's OC4J engine, I didn't receive any errors. Everything worked. I looked at the opmn/logs/* dir, and still no signs of the real error. So I set out to learn where I could view more logs, and I eventually found the error inside $ORACLE_HOME/j2ee/MyConatiner/log/MyContainer*/oc4j/log.xml, after I increased the verbosity.
Solution: I found the "NoClassFound" error after I fiddled with j2ee-logging.xml. The funny part is, the error did not show up in the ERROR or INTERNAL_ERROR module types. Some of the wrapper Java classes that were generated to deal with complex types (records) and even arrays, were not being included in the EAR/WAR file for deployment! That's why when I ran the web service locally using JDeveloper, there were no errors (since the classes were present). Now, before I deploy I always check what is being deployed... :)
Here's what I learned through the process. Hope it's helpful!
keywords: http 500 error empty test response reply web service deploy complex data types arrays logs pl/sql procedures functions
Debugging
There are several places where logging occurs on Oracle Application Server 10.1.3.
This is not a complete list, but it covers the main areas. Let's assume our OC4J
container is called MyContainer:
OPMN
* tail -f $ORACLE_HOME/opmn/logs/*MyContainer*
* To adjust the verbosity, use the Enterprise Manager web interface: click on
the container, then on the Administration -> Logger Configuration. Now you can
set the logging level for different components.
Apache
* tail -f $ORACLE_HOME/Apache/Apache/logs/*log
* The file names depend on the ErrorLog? and CustomLog? directives in
httpd.conf. You can adjust the verbosity by changing the LogLevel
Apache directive.
J2EE
* tail -f $ORACLE_HOME/j2ee/MyContainer/log/MyContainer*/oc4j/log.xml
* You can adjust the verbosity by editing
$ORACLE_HOME/j2ee/MyContainer/config/j2ee-logging.xml. Look for the
<logger> element, and set its 'level' attribute to 'TRACE:32' for the most
information.
* From experience, these logs are the best. :-)
Oracle
* tail -f $ORACLE_HOME/Apache/Apache/logs/oracle/log.xml
* To enable and configure this logging system, add the following to your httpd.conf:
OraLogMode oracle
OraLogSeverity TRACE:32
OraLogDir ORACLE_HOME/Apache/Apache/logs/oracle
* More info: http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b25211/servlog.htmThanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
-Eric -
Errors with Test Web Service in Java Studio Creator...
Hi...
I'm a newbie with web services. I've installed Java Studio Creator in my Win XP Pro environment and I've been following the tutorials on how to add a web service to my projects, etc...
In any case, I've followed the steps to ensure that my Deployment Server and my Built-In Database Server are active, yet whenever I try to test any of the pre-packaged, built-in web services, I always get the following type of error:
InvocationTargetException
com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459)
com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
java.lang.Thread.run(Thread.java:595)
null
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
java.lang.Thread.run(Thread.java:595)
HTTP Status-Code 404: Not Found - /OrderService; nested exception is: HTTP Status-Code 404: Not Found - /OrderService
webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:327)
webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
java.lang.Thread.run(Thread.java:595)
HTTP Status-Code 404: Not Found - /OrderService
com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:302)
com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252)
com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:88)
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:92)
webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:311)
webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
java.lang.Thread.run(Thread.java:595)
Can anybody give me a clue as to what I've missed? I was under the impression that Java Studio Creator had everything it needed to be able to successfully test these web services. What it looks like to me, is that the actual web service package is not deployed to the development environment. I have no idea where I would find those, if they were not pre-packaged with the software. Any assistance would be greatly appreciated.
Thanks,
BrettAre you to see the WSDL using the URL on a browser?
Check for proxy settings configured in the IDE.
http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical/webservices/proxies.html
-Sakthi -
Error invoking esb from web service proxy
I have created a web service proxy (with jdeveloper 10.1.3.2) to invoke my service on the ESB.
When i try to invoke this service with the proxy, the following error message appears:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:142)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeOneWay(HttpClientTransport.java:122)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:173)
at oracle.j2ee.ws.client.StreamingSender._sendOneWay(StreamingSender.java:131)
at testproxy.proxy.runtime.__soap_TestIn_execute_ppt_Stub.execute(__soap_TestIn_execute_ppt_Stub.java:88)
When i take a look in the esb console, there i can see, that the service was invoked, but it is signed with the error symbol (i'm writing data into a database and the lines to the database adapter a green, but the lines back are red. But it writes nothing into the database. If i klick on the test webservice button at the appserver, everything works fine).
Does anybody know the reason why it don't work?
thanksIn the ESB Control you can view the exception that's being thrown, is the PrivilegActionException the only stack trace you have?
Maybe you can have a look if the data that's returned from the db-adapter is interpreted correctly by the ESB? You're working with a Request/Reply ESB so you need to make sure that as well the input as the ouput that's returned by the Routing Service is properly defined. -
Error when testing web service
Hello,
I published a web service in the Service Registry, and now I am attempting to test it out in the Web Services Navigator. Unfortunately when I click on the web service from the search results I get the following error:
while trying to invoke the method com.sap.esi.uddi.sr.api.ws.PhysicalSystemKeyType.getLogicalKey() of an object returned from com.sap.esi.uddi.sr.api.ws.ServiceDefinitionType.getPhysicalSystemKey()
Has anyone seen this before?Hi ethan,
I guess problem with SLD/SR. Did you complete SLD & SR configuration steps?
Please see it: http://<host>:<port>/nwa -> Configuration Management -> Scenarios -> Configuration Wizard.
See if
1) Registering Services Registry instance in SLD
2) Services Registry Destinations Creation
are not initial .
Nikhil -
Error while testing Web Service in WS Navigator
Hello again,
i'm trying to test the WSDL with WS Navigator from the Webservice ECC_PURCHASEREQUESTCRTRC created with ECC.
It finds the WSDL, i can insert parameter but the result is this Error:
Web-Service returned error. error code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" error string: "Error during proxy processing"
so what went wrong?The Log says that:
Server Exception: Error during proxy processing; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Error during proxy processing
[EXCEPTION]
java.rmi.ServerException: Server Exception: Error during proxy processing; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Error during proxy processing
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:1962)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1360)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP_Idenpotency(SOAPTransportBinding.java:969)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:950)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at com.sap.esi.esp.wsnavigator.lib.Operation.execute(Operation.java:171)
at com.sap.esi.esp.wsnavigator.WSNavigator.fireExecuteCurrentOperation(WSNavigator.java:600)
at com.sap.esi.esp.wsnavigator.wdp.InternalWSNavigator.fireExecuteCurrentOperation(InternalWSNavigator.java:310)
at com.sap.esi.esp.wsnavigator.ResultView.onPlugFromLogoView(ResultView.java:1219)
at com.sap.esi.esp.wsnavigator.wdp.InternalResultView.wdInvokeEventHandler(InternalResultView.java:491)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)
at com.sap.tc.webdynpro.progmodel.window.ViewController.invokeInboundPlugHandler(ViewController.java:446)
at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.processInboundPlugQueue(NavigationManager.java:305)
at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.navigate(NavigationManager.java:320)
at com.sap.tc.webdynpro.clientserver.phases.NavigationPhase.execute(NavigationPhase.java:63)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:514)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:55)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1652)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1466)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:884)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:856)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:343)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:315)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:76)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:359)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:476)
at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:400)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:203)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:438)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:427)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:80)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:315)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Error during proxy processing
at com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException_SOAP11(FaultUtil.java:220)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException(FaultUtil.java:65)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:1924)
... 73 more
Datum: Single Click Filter by Datum 2011-01-18
Zeit: Single Click Filter by Zeit 09:39:05:734
Kategorie: Single Click Filter by Kategorie com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
Ort: Single Click Filter by Ort com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
Applikation: Single Click Filter by Applikation sap.com/tcesiespwsnavui
Thread: Single Click Filter by Thread Thread[HTTP Worker [@18923517],5,Dedicated_Application_Thread]
Datenquelle: j2ee\cluster\server0\log\defaultTrace_00.trc
Argumente:
DSR-Transaktion: Single Click Filter by DSR-Transaktion 41dd215022de11e08794000c2952e027 -
Getting error While testing Web Service deployed Glassfish using Net beans.
Hi,
I created a web service in netbeans. I deployed it on glassfish server too.
My web service contains one method which return type is Document. Here is my web service class code.
@WebService(serviceName = "DocumentTest")
@Stateless()
public class DocumentTest {
* This is a sample web service operation
@WebMethod(operationName = "hello")
public String hello(@WebParam(name = "name") String txt) {
return "Hello " + txt + " !";
@WebMethod
public Document getDocument(){
Document doc = null;
return doc;
}After Deployment when I m testing the web service I am getting follwoing error on Browser
Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL
Possible causes can be invoking https when the application is not configured for securityI am just testing whether I can send Document object or not.
Regards,
Ajay Sharma
Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM
Edited by: Ajay Sharma on Nov 29, 2012 2:16 PMAjay Sharma wrote:
I am just testing whether I can send Document object or not.An XML document? Wouldn't that be a really ridiculous web service?
Maybe you are looking for
-
Problem with data distribution from HCM to e-Recruiting
Hello masters: I have a problem when I try to distribute data from HCM to e-Recruiting. I´m getting code 51 just for the PA infotypes segments (E1P0000, E1P0001, etc.). The error message tha I am receiving is: "Error in subroutine read_namtb for stru
-
List styles not showing up in Conversion Settings dialog
In linked Frame documents, RoboHelp collapses multi-level unordered lists (bullets and subbullets) to a single flat list. So this in FrameMaker: Fruit Vegetables Carrots Peas Becomes this in RoboHelp: Fruit Vegetables Carrots Peas This happens when I
-
hi friends, i take header table (ekko) one seperate internal table. and item data(ekpo) one seperate table. iam not taken commen fields in both tables. iam getting data from .txt file all header data and item data into one file internal table. iam al
-
Returning of material by 122 and via delivery component in migo
I read a post in which return delivery has been discussed through. But in my business the return delivery is done delivery component and sent back to the vendor via a challan. Also tell me how to get back the payment from the vendor. Presently we are
-
Will 'Microsoft Outlook Mac' Notify Me On Notification Centre on OS X Mt Lion?
Just Wanna Know To See if I Should Use 'Mail' or 'Microsoft Outlook Mac'?