Error While Consuming the webservice in ABAP
Hi,
I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400 : Bad Request")"
Any help is appreciated.
Thanks
Raghavendra Kuamr
Hi,
Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
Regards,
Gourav
PS: please search forum before posting questions.
Similar Messages
-
Error while testing the webservice through SOAMANAGER
Hi All,
I have created a webservice from a Function module ( RFC enabled). I am getting an error while testing the webservice from the SOAMANAGER but the function module is working fine giving proper output.
The error is
REQUEST:
POST /sap/bc/srt/rfc/sap/zws_test_cms_bp_fac/600/zws_test_cms_bp_fac/zws_test_cms_bp_fac HTTP/1.1
Host: ed1app.corp.fcc.ca:49000
Content-Type: text/xml; charset=UTF-8
Connection: close
Authorization: <value is hidden>
Content-Length: 654
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:ZSRAV_TEST_CMS_BP_FAC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'><IT_BP_LIST><item><BP_NUMBER>9999990013</BP_NUMBER></item></IT_BP_LIST><IV_COMPANY_CODE>FCC</IV_COMPANY_CODE></ns1:ZSRAV_TEST_CMS_BP_FAC></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE:
HTTP/1.1 500 CX_ST_REF_ACCESS:XSLT exception.An error occurred during serialization in the simple transformation program /1BCDWB/WSSE2B50F3FDFC9C2A94B7.Access to the table ref. node 'ZSCMS_FAC_CAG_DETAILS' outside a loop
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 0
accept: text/xml
sap-srt_id: 20100202/041112/v1.00_final_6.40/4B67E41A4BC41B7CE10000000A013104
server: SAP Web Application Server (1.0;700)
please do the needful.
Thanks in advanceHi,
Here is a very smart tool for webservice test:
[soapUI|http://www.soapui.org/]
It works fine for me!
bg,
attila -
Error while consuming a webservice in nwds
Dear Users,
I m facing an error while consuming a wsdl webservice in webdynpro java error................
Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[ModalContext,5,main]] Error: Internal error
Plugin name: Web Dynpro Model Editor Services
Plugin ID : com.sap.ide.webdynpro.service.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
Method : doImportWebServiceModel
Message : Web Service model import failed
Exception : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
-- caused by --
com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many times (20) -> java.net.ProtocolException: Server redirected too many times (20)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 8 more
Caused by: java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
at java.net.URL.openStream(URL.java:913)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
... 10 more
Please help me in solving his issue.
regards,
SathyaI have the same issue attempting to connect my application to this WSDL:
http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many times (20)
2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many times (20)], see error log for details
2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many times (20)
java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many times (20)
2009-10-26 18:11:45,943 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] at java.net.URL.openStream(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
2009-10-26 18:11:45,943 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
Any ideas?
Edited by: tburke on Oct 27, 2009 2:26 AM -
JCo destination error while executing the webservice model
Hi,
I have explained what I have done so far and whats my issue right now.
My requirement is calling a PI interface (exposed as webservice) from webdynpro for java and setting some parameter value to the PI interface based on which our functional flow will continue.
Done so Far :
1. Created a webdynpro for java application using NWDI.
2. received the WSDL file of the PI interface and imported as "Adaptive webservice model" into webdynpro.
3. used the model and set the parameters to PI interface and executed the model.
4. I have created JCO destinations in the source system (where the application runs) to communicate to the PI system. A special user has been created and assigned in the connection for communicating.
5. Also I have created the "Dynamic Webseviceproxies" in visual admin with the same name as the JCO destinations. It had a property "URL" for which I have tested with providing both the PI server URL (Http://<Hostname>:<Port no>) and also the complete webservice URL (Which calls the WSDL file directly)
when I run the application, I get the following error.
1. Exception on creation of service metadata for WS metadata destination 'WD_RFC_METADATA_DEST' and WS interface '{<Interface Name>'. One possible reason is that the metadata destination 'WD_RFC_METADATA_DEST' has not been properly configured; check configuration.
after some exception the next error follows
2. Invalid Response Code 403 while accessing URL: <The URL which I have provided in the webservice proxy in Visual admin tool> Response Message: Forbidden.
after some lines of exception from PI server the next error follows.
3. Error: You are not authorized to view the requested resource
My Question :
1. Do I miss anything in Configuration?
2. Is my way of approach wrong?
3. Any additional authorization needed?
Kindly provide some ideas and inputs.
Regards,
Mahendran B.Dear Mahendran
JCO destination will not used for the Web Service Model. While creating the webservice model, you need to use the logical destination which you have created in the Visual Admin.
Please refer to the Secured WebServices II and verify currently used webservice logical destination How To Reimport Web Service Models in Web Dynpro for Java
You can also refer to
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e?QuickLink=index&overridelayout=true
Hope it will helps
Best Regards
Arun Jaiswal -
Getting error while consuming google webservice in jspDynpage
Hi All,
I am consuming google webservices in my JspDyn page
i am getting following error
An exception occurred while processing a request for :
iView : GoogleSer.google
Component Name : GoogleSer.google
Could not find portal application <b>com.company.global.enterprise.portal.wsdl.webservices.service.</b>
Please help me to resolve this issue
code ::
MyGoogle googleService =
(MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
Thanks & Regards
RudraHi,
I am still having the same problem, however the scenario in which I am getting varies.
I am getting this exception:
"com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
When I view the logs I am seeing the Nested Soap Exception.
Any Ideas??? Starting the J2EE engine also did'nt help.
Thanks in advance.
Madhavi -
Consuming the webservices in ABAP?
Hi Guys,
I have consumed a wsdl on the ECC 6.0 system, generate a proxy object and when i am trying to send the data i am gettitng the error as below.
I have also filled the soap action while creating the logical port through SOAMANAGER.
Error Error CL_SOAP_RUNTIME_CLIENT EXEC_PROCESSING
SOAP Runtime SOAP Fault Exception caught: : System.Web.Services.Protocols.SoapException:
Server did not recognize the value of HTTP Header SOAPAction: http://YYY/XZZSoap30/SoapOp.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
any help or suggestions would be appreciated
Thanks,
RajRaj,
The below Link Might help
http://help.sap.com/saphelp_nw04/helpdata/en/7d/473978127144d2a77c94dd544e2e61/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d86cf1a4-0701-0010-409d-c568b1d2519e
Call a ABAP Web Service externally
Cheers
Agasthuri Doss -
Error while creating the webservice
Hi All,
I am new to webservice.
I tried to create webservice from eclipse with lomboz plugin refering the link.
http://www.roseindia.net/webservices/buildingsimplewebservice.shtml
I got following error
IWAB0399E Error in generating Java from WSDL: java.net.MalformedURLException: unknown protocol: c
while parsing the wsdl file.
please provide solution for it.
Regards
Rajeshwari BHi All,
I am new to webservice.
I tried to create webservice from eclipse with lomboz plugin refering the link.
http://www.roseindia.net/webservices/buildingsimplewebservice.shtml
I got following error
IWAB0399E Error in generating Java from WSDL: java.net.MalformedURLException: unknown protocol: c
while parsing the wsdl file.
please provide solution for it.
Regards
Rajeshwari B -
Error while calling a webservice from ABAP system
Hi All,
I have generated a proxy for the webservice that is there in a Java system.
Iam getting the following error when I make a method call of that generated proxy.
SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server Error").
Does anybody has any idea why is this happening?
Thank You,
Suresh.Hi Sridhar,
It is active and it was working fine. It suddendly started giving this error. Do you think if there is any possibility that there would be something wrong in the system where webservice is lying?
Thank You,
Suresh. -
Error while consuming external webservice URL in SAP
Hello every one,
I am getting below error in sap while consuming external web service URL .
HTTP error (return code 405, message "Method Not Allowed")
Can any one help me on this.
Thank You.
VijayHi Vijay,
Did you check if you are using full correct UURL. That happens with incorrect URL.
Thanks,
Ravi -
Error while testing the Webservice
HI,
When I Tried the Same It is showing an Error"Error in Sending the Soap Data"
When i teted the configuration it is showing an error in message interface,but is there and running fine when tested
Hi,
When I am Testing the same in the Altova,I am Getting an error as Below
"<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context/>
<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
<text>Message is incomplete. No Sender found</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I Configured all the Required in Id and Tested the Design in the IR.
Thanks,
SrinivasaHi Srinivas,
Check these threads..
RCVR_DETERMINATION: MESSAGE_INCOMPLETE
BPM Message is incomplete. No Sender found
cheers,
Prashanth
P.S Please mark helpful answers -
SSL Authentication Error While consuming HTTPS webservice
Hi, i am calling a JAX-RPC Webservice method through HTTPS. I am Getting 403 Forbidden Error followed by a message, Your browser sent a query that could not be understood by the server.
The following is the SSL debug Trace
*** CertificateRequest
Cert Types: RSA, DSS,
Cert Authorities:
<CN=xxxxxx, OU=xxxxxx, O=xxxxxx, L=xxxxxx, ST=xxxxxx, C=xx, EMAILADDRESS=xxxxxx>
<CN=xxx>
<CN=xxx, DC=testcore, DC=test, DC=dir, DC=xxx, DC=com>
<OU=TOC, O="xxx", C=xx, ST=xx, CN=xx Certificate Authority>
<CN=xxxxxx, OU=xxx, O=xxx, L=xxx, ST=xxx, C=xxx, EMAILADDRESS=xxx>
<CN=xxxxxx>
*** ServerHelloDone
*** Certificate chain
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
Random Secret: { 3, 1, 35, 197, 161, 73, 249, 145, 160, 45, 56, 58, 176, 22, 174, 98, 174, 200, 1, 114, 151, 172, 122, 33, 46, 205, 154, 235, 253, 206, 42, 24, 20, 144, 7, 214, 139, 49, 23, 150, 5, 91, 58, 16, 163, 106, 159, 7 }
main, WRITE: TLSv1 Handshake, length = 141
SESSION KEYGEN:
PreMaster Secret:
0000: 03 01 23 C5 A1 49 F9 91 A0 2D 38 3A B0 16 AE 62 ..#..I...-8:...b
0010: AE C8 01 72 97 AC 7A 21 2E CD 9A EB FD CE 2A 18 ...r..z!......*.
0020: 14 90 07 D6 8B 31 17 96 05 5B 3A 10 A3 6A 9F 07 .....1...[:..j..
CONNECTION KEYGEN:
Client Nonce:
0000: 4E 10 18 A0 40 A3 FF 91 D1 CB 92 C4 BB 29 E8 69 N...@........).i
0010: 27 75 0A 1C ED 87 0F 5D 44 09 27 65 F1 22 E5 2F 'u.....]D.'e."./
Server Nonce:
0000: 00 00 8F C1 7D 92 67 9E 8D 06 26 81 E2 78 0B 34 ......g...&..x.4
0010: 31 C7 1D 6C B8 45 F2 AD 5A E7 2C B6 54 60 2F FD 1..l.E..Z.,.T`/.
Master Secret:
0000: 3C 42 EF 0E A4 36 14 B8 3E 80 43 7E ED B9 70 34 <B...6..>.C...p4
0010: 03 69 A3 56 EF 05 98 86 8E BE D7 67 FE 1D 23 8F .i.V.......g..#.
0020: E6 1A 18 D4 E7 FF 36 AB 61 8D 93 B8 55 E1 B0 5A ......6.a...U..Z
Client MAC write Secret:
0000: 87 51 EB C6 E3 57 79 55 97 E1 BE BE 17 94 C1 31 .Q...WyU.......1
Server MAC write Secret:
0000: 17 FD DD 05 E1 FC EC E3 F5 1D E4 25 67 E3 0F 5D ...........%g..]
Client write key:
0000: 37 D4 E0 F9 33 A8 E4 95 B6 C6 4F CA D1 49 DF 3E 7...3.....O..I.>
Server write key:
0000: 4E 4B 6E 9B 83 C3 FB 92 8D C8 9C C0 43 01 33 2C NKn.........C.3,
... no IV for cipher
main, WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data: { 2, 28, 187, 61, 50, 197, 78, 249, 28, 45, 76, 180 }
main, WRITE: TLSv1 Handshake, length = 32
main, READ: TLSv1 Change Cipher Spec, length = 1
main, READ: TLSv1 Handshake, length = 32
*** Finished
verify_data: { 107, 249, 181, 226, 207, 255, 168, 247, 141, 30, 175, 222 }
%% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
main, WRITE: TLSv1 Application Data, length = 333
main, WRITE: TLSv1 Application Data, length = 807
main, READ: TLSv1 Application Data, length = 181
java.rmi.RemoteException: HTTP Status-Code 403: Forbidden; nested exception is:
HTTP Status-Code 403: Forbidden
at xxx.EnrolmentReportingWebServiceServantInterface_Stub.getEnrolmentChangeSetByApplication(EnrolmentReportingWebServiceServantInterface_Stub.java:169)
at webAgent.main(webAgent.java:16)
Caused by: HTTP Status-Code 403: Forbidden
at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:355)
at com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:288)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:109)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:113)
at xxxxxx.EnrolmentReportingWebServiceServantInterface_Stub.getEnrolmentChangeSetByApplication(EnrolmentReportingWebServiceServantInterface_Stub.java:145)
... 1 more
I am stuck at this point. The Certificates provided by the Webservice team , they are saying is verified.
Any help will be appreciated. Thanks in advance.
Edited by: 869912 on Jul 3, 2011 12:43 AMThe client appears to have sent an empty certificate chain. That would mean it doesn't have a certificate available that matches what was specified in the CertificateRequest. Maybe it doesn't have a keystore at all.
-
Error while executing the webservice
hi
i have exposed RFC as webservice , when i am trying to
import the webservice (i have used import webservuce model
deprecated ) ,
when i am trying to call the webservice its throwing error
Service call exception; nested exception is: java.net.ConnectException: Connection refused:
can any one help me out ?Hi,
There are lots of possibilities for this error.
1) First check if you are able to ping the server in which webservice is present.
2) You can test the webservice from http://host:port/wsnavigator
3) If it is working here also, then go to Webdynpro and check if any specific authentication is required for webservice
4) If nothing works, restart both the servers where webservice is and where you are using webdynpro. Then check the application. It will work.
Regards,
Harini S -
I am Getting the classcast error while using the webservice client
Hi ,
Iam getting classcast exception while trying to get the connection Object throurh the webservice client.
The details are:
the ra.xml
<resourceadapter-version>1.6</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>oracle.apps.contactCenter.mct.model.connector.CCAResAdapterImpl</resourceadapter-class>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>oracle.apps.contactCenter.mct.model.connector.CCAMangConnFactImpl</managedconnectionfactory-class>
<connectionfactory-interface>oracle.apps.contactCenter.mct.publicModel.connector.MCTConnectionFactIF</connectionfactory-interface>
<connectionfactory-impl-class>oracle.apps.contactCenter.mct.model.connector.CCAConnectionFactImpl</connectionfactory-impl-class>
<connection-interface>oracle.apps.contactCenter.mct.publicModel.connector.MCTConnectionIF</connection-interface>
<connection-impl-class>oracle.apps.contactCenter.mct.model.connector.CCAConnectionImpl</connection-impl-class>
</connection-definition>
<transaction-support>NoTransaction</transaction-support>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
The weblogic-ra.xml
<enable-access-outside-app>true</enable-access-outside-app>
<outbound-resource-adapter>
<connection-definition-group>
<connection-factory-interface>oracle.apps.contactCenter.mct.publicModel.connector.MCTConnectionFactIF</connection-factory-interface>
<connection-instance>
<jndi-name>MctEIS11/connFctryCCA</jndi-name>
<connection-properties>
<pool-params>
<initial-capacity>5</initial-capacity>
<max-capacity>10</max-capacity>
<capacity-increment>1</capacity-increment>
</pool-params>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
The web.xml
<servlet>
<servlet-name>MyWebService1SoapHttpPort</servlet-name>
<servlet-class>myapp.Class1JCA</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MyWebService1SoapHttpPort</servlet-name>
<url-pattern>/MyWebService1SoapHttpPort</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
</web-app>
The client is
Context m_context;
MCTConnectionIF m_connection = null;
Hashtable env = new Hashtable();
env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
env.put(Context.PROVIDER_URL, "t3://localhost:7101");
try {
m_context = new InitialContext(env);
System.out.println("Got the context objNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN");
MCTConnectionFactIF m_cxFactory = null;
Object objFactory = null;
objFactory = m_context.lookup("MctEIS11/connFctryCCA");
System.out.println(objFactory.toString());
m_cxFactory = (MCTConnectionFactIF)objFactory;
System.out.println(m_cxFactory.toString());
m_connection = (MCTConnectionIF)m_cxFactory.getConnection(); //
When i run this i am getting the exception as
Entering!!!!!!!!!!!!!!!!!!!!!
Got the context objNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
[oracle.apps.contactCenter.mct.model.connector.CCAConnectionFactImpl@14bc17f|mailto:oracle.apps.contactCenter.mct.model.connector.CCAConnectionFactImpl@14bc17f]
java.lang.ClassCastException: oracle.apps.contactCenter.mct.model.connector.CCAConnectionFactImpl cannot be cast to oracle.apps.contactCenter.mct.publicModel.connector.MCTConnectionFactIF
at myapp.Class1JCA.GetConnection(Class1JCA.java:47)
I have checked that the jar files are matching in both client an connector side
Please help me on thisIs that ever running ? Where/how did you installed tuxedo ? Which OS user was used for tuxedo install ?
Nicolas. -
Error while testing the Webservice created from RFC enabled function module
Our client has provided the SAP WSDL URL and We tried to generate stub using AXIS 2 tool from this SAP WSDL URL and got u201Cservice and binding tagu201D missing error.
It seems that clients SAP wsdl file is having only web service interface information and does not have Access Description i.e service and binding tag information .
Is it mandatory to have service and binding tag in SAP wsdl to consume webservice from third party java application ?
Could you please let us know how to resolve this error?
<urgency removed by moderator>.
Thanks ,
Ranjit
Edited by: Thomas Zloch on Mar 25, 2011 1:16 PMHi,
I think you might have received wrong WSDL.
In transaction SOAMANGER for a WebService you can select:
Porttype WSDL document
or
WSDL document for selected binding or service -> for a concrete binding
You need to get the second one which contains service and binding information. The first one is just interface description. -
Error while usinjg the JDBC to ABAP Proxy Scenario
Hello Rocks,
This is my scenario like JDBC --- Pi --- ABAP Proxy
while i am given a sender side jdbc XSD structure is like this
VWENTITYAGGREMENT
Row 1-unbound occurence
POOL_ID 0-1 occurence
CUST_ID
AGREEMENT
PRODUCT_ID
CONTRACT_TYPE
CONTRACT_TYPE_DESCR
AGRMNT_STATUS
STATUS_DESCR
EFFDT
TERMINATION_DT
ADD_DT
ADD_TM
while i am writing a select query in Sender JDBC CC is like this
SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement.
Here i am getting this Error message like this :
Error Description: Database-level error reported by JDBC driver while executing statement 'SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
So please give me your valuable inputs !
Regards,
Ravi.Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
Did you confirmed the name POOL_ID as suggested?
Why is the tablename different (check the case) in the query that you make and in the XSD structure that you mentioned......check if this is causing the problem.
Regards,
Abhishek.
Edited by: abhishek salvi on Jun 4, 2010 10:24 AM
Maybe you are looking for
-
User Exit to call program to create IDocs.
Hi All, For any creation/changes of material master using MM01/MM02 (after save ) one of the user exit will trigger. From the user exit, I have to call the custom program to create MATMAS IDOCs. if any failures in changes/creation of material master.
-
I recently submitted a question re. the volume which when I send from Garage Band 2008
I recently submitted a question re. sharing music I create and send from Garage Band 2008 to iTunes 11.1.1. I create a slide show in iPhoto 2008 and export to Quicktime (latest version) and ultimately to YouTube. By the time the file gets to Quicktim
-
Can I select and manipulated hidden photos as a group?
I've been through an album and have hidden some photos as they don't add much to the slide show I'm creating. At this point I would like to do some stuff with the album as it is (without the hidden photos), so I would like to delete all the hidden ph
-
HI Guys, i have an order xxxx with a net price of 3,29 USD. now the warehous made the movement type 122 and in purch. order history i can see it. now the issue is, i have a different amount between local amount and amount. for me the local amount is
-
Hi guys, I have started to make a knowledge base using flex builder and i'm stuck at the content part. I have found that word generated XML supports embedded images, my questions is how can I load word XML in flex builder. Also if there is no way, ho