NoSuchMethodError while calling webservice that uses control
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/ObjectV
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
Ashwini
Hello,
This exception is due to the fact that your client application cannot access the server.
Have you tried to access the service (ping) from the host where the forms server is running?
Regards
Tugdual Grall
Similar Messages
-
Error while calling WebService inside ISchedulerTask.
Hi,
Env: NW 2004s
I have a requirement of calling webservice frequently. I developed a portal project with scheduler, where the application gives a runtime error while calling/reading the property file (which is generated during the webservice proxy generation, without it webservice call is impossible).
I have varified the ear file which contains all the required class files and config files including property file.
fyi:
portalapp.xml file looks like this.
+
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
</application-config>
<components/>
<services>
<service name="RFServiceWrapper">
<service-config>
<property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
<property name="startup" value="true"/>
</service-config>
</service>
</services>
</application>
+
Any input will be highly appreciated.
Thanks,
VinodFollowing is the error message:
msg1:
at <package>.AFFERAAFWSServiceImpl.<init>(AFFERAAFWSServiceImpl.java:10)
msg2:
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.loadProtocolsFromPropertyFile(ServiceBase.java:238)
Reporting from Logs and Traces.
Error Located @ following code inside AFFERAAFWSServiceImpl.java, which is a proxy class generated using apache axis
input = this.getClass().getClassLoader().getResourceAsStream("<package>/protocols.txt");
loadProtocolsFromPropertyFile(input);
protocols.txt is another config file generated along with AFFERAAFWSServiceImpl.java, which is been used @ run time.
FYI: All these files are present on ear file. -
Error while calling RFC when using BSP Web Interface
Hi,
we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
R_AREA
R_METHOD
R_PACKAGE
R_PARAM
R_PLEVEL
R_PM_NAME
R_PROFILE
R_STS_PT
R_STS_SUP
R_WEBITF
S_RS_ADMWB
S_RS_AUTH
S_RS_COMP
S_RS_COMP1
S_RS_DAS
S_RS_ICUBE
but we still get the error message: "Error while calling RFC".
When using a user with SAP_ALL, it works.
What can we do?
Thx for your time.
JoergActually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded. -
XML Error while calling webservice from oracle function.
I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "H4" does not match start-element tag "P"
Error at line 9
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
How to call webservice application using Browser
Hi Everybody,
Synchronous Scenario: Calling XI Server using WebServices( Sending the Customer no through Soap and from there the receiver adapter RFC is picking that no and it will send it to R/3 using BAPI and getting the Customer Details from R/3.
I followed the below two blogs and I created the complete scenario. And I deployed the ear file in WebAs in xi server.
Now the question is how to run this program using the browser. That is how to call.
Message Interface Name: CDWS_MI
Service Name : Soap_Service
Namespace : urn:xiwebservicesusingwebdynpro.com
Can you tell me how to call through the browser?
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3592---- [original link is broken] [original link is broken] [original link is broken] [original link is broken]
>1
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3593---- [original link is broken] [original link is broken] [original link is broken] [original link is broken]
>2
Advance thanks,
Abdullah Shaik.Hi,
It's not clear to me what you did. Have you exposed an XI Message Interface through a Web Service? Or have you developed a Web Service in the other way? What is the "ear" that you said? Is an webdynpro app? If it is, I think your question would be properly answered at WebDynpro forum
cheers!
roberti -
System error while calling webservice adapter
Hello Experts
I am configuring a synchronous proxy to webservice scenario.I have created a webservice from a custom function module. while executing the interface i am getting the following error in the sxmb_moni.
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: 'error_text'</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>ya I have checked the wsdl and even called the wsdl using Altova XmlSpy and getting back the response.Could anyone please throw light on this.
thanks
sabyasachi -
Error while calling BAPI_PARTNEREMPLOYEE_CREATE BAPI using JCO
Hi All,
Our requirement is to create and update customer contact details from java application. For this purpose we are trying to call BAPI_PARTNEREMPLOYEE_CREATE BAPI for create contact and BAPI_PARTNEREMPLOYEE_EDIT for updating contact information. As these BAPIs are of online version, error is coming while calling these BAPIs.
So is there any way to call these BAPIs through JCO or are there any alternative BAPIs available for same purpose?
Thanks in advance,
Arati.Hi,
All the bapi or function module available in SAP to create contact person will internally do a call transaction to VAP1 and VAP2 tcodes in order to create or change contact person respectively.
We had a similar problem when we were creating and updating customer contact person using inbound idoc. We then created a bdc recording for the same and then created two function module with name Z_CREATE_CONTACT and Z_CHANGE_CONTACT. In your case you can make this function modules as RFC enabled FM and call them using JCO I guess.
KR Jaideep, -
Call procedure that uses REF CURSOR?
Can someone tell me how to call a procedure that uses a REF CURSOR?
Procedure is something like this:
PROCEDURE my_proc
P_PROG_ID IN VARCHAR2,
P_CRITERIA IN VARCHAR2,
P_TASKCURSOR OUT MYREFCUR
IS
blah, blah blah
I tried this to call the procedure:
exec my_proc(variable1,variable2,variable3)
but I don't know how to define variable3.
Can someone help me out?Based on the parameters for the procedure, it looks like you have a cursor (myrefcursor) defined in a package somewhere. So, in sqlplus, you would need to do it in an anonymous block, something like:
DECLARE
l_cur package_name,myrefcur;
variables to hold cursor fields
BEGIN
my_proc('ID', 'Criteria', l_cur);
LOOP
FETCH l_cur INTO variables to hold cursor fields
EXIT WHEN l_cur%NOTFOUND;
Do something with variables
END LOOP;
CLOSE l_cur;
END;If you are on Oracle 9 or higher, assuming that myrefcursor is weakly typed,
you could change the definition of the procedure to:
PROCEDURE my_proc (p_prog_id IN VARCHAR2,
p_criteria IN VARCHAR2,
P_TASKCURSOR OUT SYS_REFCURSOR)then you could call it in sql plus like:
-- Define the variables
var var1 VARCHAR2(100);
var var2 VARCHAR2(100);
var cur SYS_REFCURSOR;
-- Assign Vlaues to the IN parameters
EXEC :var1 := 'ID'; :var2 := 'Criteria';
EXEC my_proc(:var1, :var2, :cur);
-- See the contents of the cursor
print curHTH
John -
How to call owb mappings using Control M
Hi Guru's,
Please help me with the script/steps for calling OWB mappings in Control M.
Thanks in advance!Hi Kishan,
Use sqlplus_exec_template.sql in <OWB_HOME>\owb\rtp\sql\.
Alternatively you can use similar code provided by OWB-team: http://www.oracle.com/technology/sample_code/products/warehouse/files/run_my_owb_stuff.sql
Good luck, Patrick -
ReadtimeoutException while calling Webservice
Hi all,
when i am calling webservice from the webdynpro applicaion i got an Exception
java.rmi.RemoteException: Service call Exception; nested Exception is: java.net.SocketTimeoutException: ReadTimeout
please any one can tell me why this exception occured and any solutions to it.
Thanks in advanceTry changing the value for "WS Clients Socket Timeout " in the VisualAdministrato->WebService container->selet wenservice and goto settings tab
http://help.sap.com/saphelp_nw2004s/helpdata/en/f8/46537698664432b74aa4050ba73f25/frameset.htm
Regards, Anilkumar -
Error while deploying application that uses adobe forms
Hi ,
When i deploy an a web dynpro application that uses web dynpro I receive the following error .Please assist
java.net.UnknownHostException: pwdf3102
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)Hi Amit
As per Subject of ur post u told ur using Adobe forms in ur Web Dynpro Application so Hope u insured that Ur WAS is 7.0 ie 2004s or if its 6.4 then u have got Adobe document services deployed on Was and some configuration required are done on WAS else your Application wont run and also u must make sure that u do not forget to set PdfSource property of Adobe forms set to BINARY context element before u deploy ur application
Regards
ASIF -
Taking control back while calling stored procedure using java programme
I have stored procedure to load data. This procedure is invoked by java program.
The stored procedure take around 10 to 15 minutes to do complete loading of database. I want to write stored procedure when it starts loading of database at the same return the control to calling java programme so that java program can do other operation i.e. java program can not wait for control back from stored procedure.
In short stored procedure runs in background and return control back to java program when stored procedure is invoked. Is it possible then How we can achieve this.U can acheive this using Java Threads. Create a thread submit this loading job. Once you submit the thread, you will get the control back to do other stuff.
Documentation:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html
-aijaz -
Http 500 internal server error while calling webservice
I have a scenario Rfc to webservice
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>HTTP 500 Internal Server Error</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In my response pay load i am getting error msg
<b>ClientUnable to parse the incoming request. Please make sure that the request is valid: javax.xml.soap.SOAPException: Unsupported Content-Type: application/xml</b>
</env:Envelope>
Can any one please tell me what would be the problem i have doubled checked the scnrio,i message monitoring i have a messages
Audit Log for Message: ec1dc1d0-f1c7-11da-91dd-0004ac577b32
Time Stamp Status Description
2006-06-01 16:39:52 Success The message was successfully received by the messaging system. Profile: XI URL: http://saptst01.internal.pcshs.com:51000/MessagingSystem/receive/AFW/XI
2006-06-01 16:39:52 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-01 16:39:52 Success Message successfully put into the queue.
2006-06-01 16:39:52 Success The message was successfully retrieved from the request queue.
2006-06-01 16:39:52 Success The message status set to DLNG.
2006-06-01 16:39:52 Success Delivering to channel: ZCH_VERISIGNPPGR
2006-06-01 16:39:52 Success Transform: using Transform.Class: com.sap.aii.messaging.adapter.XSLTConversion
2006-06-01 16:39:52 Success Transform: transforming the payload ...
2006-06-01 16:39:52 Success Transform: successufully transformed
2006-06-01 16:39:52 Success SOAP: request message entering the adapter
2006-06-01 16:39:53 Success SOAP: completed the processing
2006-06-01 16:39:53 Success SOAP: response message received ec89a301-f1c7-11da-a561-0004ac577b32
2006-06-01 16:39:53 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
2006-06-01 16:39:53 Success The message status set to DLVD.
2006-06-01 16:39:53 Success The message was successfully delivered to the application using connection AFW.
Any help would be greatly appreciated.......
Thanks
sriramHi,
Content-Type: application/xml
...check for the content type of the message that is sent ot the WS.....with the above mentioned content-type going to the WS currently...WS is not able to parse the req and hence the error....in other words wrong format being being passed.
Regards,
ABhishek. -
Error 504 DNS look up failed while calling web services using XML
Hi, I am trying to call web service from Oracle using XML.
Everything seems to be in place but im getting an error "The webserver for <My End URL> reported that an error occurred while trying to access the website. Please click here to return to the previous page."
If I directly access the end url from my browser its accessible and seems to work fine.
The http response receiveed is mentioned below:
Status code: 403
Reason phrase: Forbidden
<html>
<head>
<title>504 DNS look up failed</title>
</head>
<body>
<font size=2><table width="100%"><tr><td bgcolor=#3300cc align="center" colspan=2>504 DNS look up failed</td></tr></table><br><br>The webserver for 'My End URL' reported that an error occurred while trying to access the website. Please click <u>here</u> to return to the previous page.<br><br><hr></font></body>
</html>
Im using Oracle 9i
Please help
Edited by: 927814 on Apr 15, 2012 11:41 PM
Edited by: 927814 on Apr 15, 2012 11:46 PMWithout far greater details as to what you are doing, what you have installed, and what you have tried, not much can be offered. All that I can gather from the information you provided is that the server name you are trying to contact either is not responding or is invalid. If you have Forms installed on your local machine (for example using Developer Suite), try using localhost rather than the hostname. For example, http://localhost:port/forms/frmservlet?form=yourform
http://www.checkupdown.com/status/E504.html -
Mapping error while calling WebService
Hi,
I tried implementing the Credit Limit check Web service example and was getting the following error
PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Response Message; error ID: CX_ST_GROUP_MISSING_CASE; (/1SAI/TXS00000000000000000006 XML Bytepos.: 346 XML Path: CreditLimitCheck_DunsResponse(1) Error Text: Element 'Status' fehlt))
Has anybody come across this error if so were you able to resolve it, looking forward to an early solution.
Regards,
AniruddhaKarst,
I looked at the messages in SXMB_MONI and it says that the message has been recieved successfully, it also shows that the response recieved has the status field.
the scenario is to call a webservice get data and send that data to an R3 aplication using ABAP Proxy, could this error be a result of some conversion that is happening at the proxy interface.
Regards,
Aniruddha
Maybe you are looking for
-
My MacBook Air will not print wirelessly to my Canon Pixma MX410
I recently got a MacBook Air computer from work. I have not been able to set up the wireless printing at home via my Canon Pixma MX410 printer. I can get it to print from my MacBook Air if i connect it via USB. and I can get the Canon to print wir
-
Thumbnail View No Longer an Option
After a recent iPhoto update I can no longer see my pictures in thumbnail view. I used to be able to get into an "Event" and see all of the pictures within the event in thumbnail view. By default, it will magnify one of the pictures in the event as i
-
When I try and export to Compressor(1.2.1) from FCP HD 4.5 i get an error saying that a file of this name already exists (obviously not the case). The Batch then fails within 5 secs or so. Could this be a restriction on the academic version of fcp or
-
Issue when generating XPDL from process flows
I have a process flow which has the following architecture. It begins with a Start activity called “START1”. START1 has two parameters P_MESSAGE_TYPE and P_MESSAGE_ID. These parameters are populated from values provided by an external process. From S
-
Anyone heard when NFL Mobile will be available for the XOOM
Anyone heard when NFL Mobile will be available for the XOOM