Getting error while consuming webservices

Hi Colleagues,
In our application we are calling External webservice through WSDL file. I have deployed the WSDL files on server and get the WSDL URL using "WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(), "file.wsdl")". I am able to call the service from WS Navigator.
I have consumed webservices uisng Adaptive webservice model and given the service group configuration ,created a provider system, assigned the provider system to the application through SOA Management-->Application Communication
Now when i tried to run the webdynpro application i am getting following error
Could anyone please let me know how to overcome this?
Exception i am facing is given here:
com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:198)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1448)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:1025)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:578)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:338)
    ... 76 more
Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID 'BORM_SWDC_API_SLM_SP_GET_DLPortType_service_sap_com_BASIC' and application name 'demo.sap.com/softcomp'. Check mass configuration has been done properly.
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:522)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:435)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:403)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:381)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:317)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:292)
  at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:68)
  at com.sap.demo.softcomp.model2.Model2.<init>(Model2.java:63)
  at com.sap.demo.softcomp.softcomp.comp.SoftcompComp.wdDoInit(SoftcompComp.java:127)
  at com.sap.demo.softcomp.softcomp.comp.wdp.InternalSoftcompComp.wdDoInit(InternalSoftcompComp.java:266)
  at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
  at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
  at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:253)
  at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)
  at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:553)
  at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1338)
  at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:146)
  at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)
  at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
  at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
  at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)
  at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:74)
  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:571)
  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:602)
  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:252)
  at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:677)
  ... 48 more
Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
  at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1459)
  at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:1025)
  at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:578)
  at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:338)
  at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:321)
  at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:282)
  at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:514)
  ... 73 more
Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
  at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:198)
Please let me know how to overcome this?
Thanks in Advance
Regards
Swetha

Hi Swetha,
Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID 'BORM_SWDC_API_SLM_SP_GET_DLPortType_service_sap_com_BASIC' and application name 'demo.sap.com/softcomp'. Check mass configuration has been done properly.
some configurations for consuming services using service group is missed out.
check this article for consuming service :
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46]
Thanks and Regards

Similar Messages

  • Logon error while consuming webservices

    I am able to create webservice and generate WSDL from SOAMANAGER with endpoints in ECC 6.0. I am getting error while trying to use this WSDL in my soapUI. It just says logon error, 401 authenticating, icf team... I cannont test this in soamanager as I don't have javastack, that whay i have to soapui to test.
    I created service user and gave some webservice consumer roles.
    Do I need do any RFC Dest settings(sm59) or some other basis setting in ICF.
    Should I need to publish these services in order for other internal non sap systems to access it.

    Hello,
    Your problem seems like a SOAPUI usage problem. Most probably you did not povide the user and password at the right place...
    Regards,
    Olivier

  • Exception error: While consuming webservice

    While trying to consume webservice from other server. We get the following error
    "I/O Exception: Name in certificate 'URL' does not match host name 'URL'
    The code works fine in development environment. Whereas, when we are trying to consume with/without the port number as 443 using cfhttp method. It is throwing the above error.
    Environment :
    Coldfusion 8
    SQL Server 2005
    Which we are consuming is :
    Java/J2EE.
    Can you please help us? If you require any other details kindly let me know.
    Thanks,
    Satheesh.

    Try setting the resultFormat on your HTTPService to e4x.
    HTH;
    Amy

  • Error while consuming webservice

    While consuming a webservice i got this error and i didn't found what's the problem.
    Any help?
    TypeError: Cannot marshall type 'http://www.w3.org/2001/XMLSchema::ReverseGeocodeRequest0' to simple content.
        at mx.rpc.xml::SchemaMarshaller/marshall()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\x ml\SchemaMarshaller.as:97]
        at mx.rpc.xml::SchemaManager/marshall()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\xml\ SchemaManager.as:468]
        at mx.rpc.xml::XMLEncoder/encodeType()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\xml\X MLEncoder.as:1434]
        at mx.rpc.soap::SOAPEncoder/encodeType()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\soa p\SOAPEncoder.as:806]
        at mx.rpc.xml::XMLEncoder/encode()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\xml\XMLEn coder.as:96]
        at mx.rpc.soap::SOAPEncoder/encode()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\soap\SO APEncoder.as:749]
        at mx.rpc.soap::SOAPEncoder/encodePartValue()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rp c\soap\SOAPEncoder.as:646]
        at mx.rpc.soap::SOAPEncoder/encodeMessage()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\ soap\SOAPEncoder.as:592]
        at mx.rpc.soap::SOAPEncoder/encodeOperationAsRPCLiteral()[E:\dev\4.5.1\frameworks\projects\r pc\src\mx\rpc\soap\SOAPEncoder.as:464]
        at mx.rpc.soap::SOAPEncoder/encodeBody()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\soa p\SOAPEncoder.as:358]
        at mx.rpc.soap::SOAPEncoder/encodeEnvelope()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc \soap\SOAPEncoder.as:197]
        at mx.rpc.soap::SOAPEncoder/encodeRequest()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\ soap\SOAPEncoder.as:162]
        at com.ngi.flex.lbs.webserviceObjects::BaseNGILBSWebService/call()[D:\Workspaces\WS_Stage201 1\ngiLbsFlexWebservice\src\com\ngi\flex\lbs\webserviceObjects\BaseNGILBSWebService.as:420]
        at com.ngi.flex.lbs.webserviceObjects::BaseNGILBSWebService/wsReverseGeocode()[D:\Workspaces \WS_Stage2011\ngiLbsFlexWebservice\src\com\ngi\flex\lbs\webserviceObjects\BaseNGILBSWebSer vice.as:404]
        at com.ngi.flex.lbs.webserviceObjects::NGILBSWebService/wsReverseGeocode()[D:\Workspaces\WS_ Stage2011\ngiLbsFlexWebservice\src\com\ngi\flex\lbs\webserviceObjects\NGILBSWebService.as: 529]
        at com.ngi.flex.lbs.webserviceObjects::NGILBSWebService/wsReverseGeocode_send()[D:\Workspace s\WS_Stage2011\ngiLbsFlexWebservice\src\com\ngi\flex\lbs\webserviceObjects\NGILBSWebServic e.as:539]
        at com.ngi.flex.lbs::NgiLBSSimplifiedWebservice/sendWsReverseGeocodeReq()[D:\Workspaces\WS_S tage2011\ngiLbsFlexWebservice\src\com\ngi\flex\lbs\NgiLBSSimplifiedWebservice.as:78]
        at com.ngi.flex.lbs::NgiLBSSimplifiedWebservice/reverseGeocode()[D:\Workspaces\WS_Stage2011\ ngiLbsFlexWebservice\src\com\ngi\flex\lbs\NgiLBSSimplifiedWebservice.as:66]
        at testMyLibrary/___testMyLibrary_Button1_click()[D:\Workspaces\WS_Stage2011\testMyLibrary\s rc\testMyLibrary.mxml:88]

    Try setting the resultFormat on your HTTPService to e4x.
    HTH;
    Amy

  • Geeting error while consuming webservice from java

    Issue description :
    We are tried to connect to clients SAP bapi web service with Apache Axis tool  ( version- axis2-1.5) and SOAP UI tool (SOAPUI3.6.1
    )  , we faced following error : and getting following login error failed error from SAP.
    Error :
    HTTP 401 - Unauthorized. Login failed. The application was running in the system QAS
    It is really starange as , using the id i could log in to the system , but while consuming the service , for the same id it is giving this error.
    Regards,
    Ranjit

    Hi,
    Not sure this is right forum to post. You may try post in SDK forum to get quick response.
    Thanks & Regards,
    Nagarajan

  • 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>

  • 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
    Rudra

    Hi,
    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

  • 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 !

  • Getting error while testing Webservice to Push XML data to BI

    Hi,
    I have created the Data source for the web service source system and data package. While testing this Web service I am getting the error as  "No real-time InfoPackage for this DataSource". I deleted the Infopackage and recreated it but same error is appearing.
    Any halp is welcomed.
    Thanks in advance.
    Amit

    Hello Amit,
    have you assigned the InfoPackage to a Deamon?
    The default Daemon 00 (not assigned) is enough.
    Kind regards
    Michael

  • Error while Consuming WebServices

    Hi!
    I've created a abap - proxy and a lpconfig to consume a WS.
    When i test the service client in se80 i get this error:
    Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    In the log of the Serviceprovider, we can see, that authentication was ok and no exception occured...
    Can anybody help me?
    Regards,
    Christian

    Hi to everybody!
    FYI: I solved the problem: In Lpconfig i had to use port 80 -> now it works

  • Getting error in consuming google webservices from JspDynPage

    Hi All,
    Getting following error while consuming google webservices from JspDynPage
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
    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, "", "", "");
    ResultElement[] results = result.getResultElements();          
    if(results != null) {
    response.write("<br> Search Result Size " +results.length );
    for (int i = 0; i < results.length; i++) {
    response.write((i + 1) + ": " + results);
    Thanks
    Rudra

    Hi,
    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

  • 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,
    Sathya

    I 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

  • 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

  • Getting error while Startting a BPM process programmatically

    Hi Experts,
    I am getting an error while trying to start the BPM process programmatically. What i have done till now is
    1. Created a WS in process composer
    2. Binded this ws with start of the process
    3. Created input parameters
    4. Testing it in WS Navigator
    I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
    If possible can any one help me out.
    Thanks and regards
    Pranav

    Hi Arafat,
    Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
    1. cn_comments
    ca_comments
    2. cn_planningGroup
    ca_account
    ca_serialnumber
    and few more attributes
    Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
    Please suggest how o proceed.
    Regards
    Pranav

  • Error while consuming Odata service from Gateway client i.e /iwfnd/gw_client

    Hello Experts.
       I am facing below an error while consuming the Odata service from GW client... The error is "No service found for the namespace /IWFND/,name ZTEST_STOREROOM_SRV,version 001". Even i have tried to deep dive in /IWFND/Error_log but no use..
      Actually what I was doing :- My aim is to connect multiple back end systems in the same server with the help of Aliasing concept.. I have created multiple aliases and added in the /IWFND/MAINT_Service transaction.. but i am not getting how to consume the service..
       I have followed the solution upto some extent in the link => Multiple Origin Composition - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
      Can you please let me know how to resolve this.. Also please let me know, the syntax for the URI...
      Your help is highly appreciated..
      Please find the screenshot attached.
    Thanks,
    Srinivas.

    Hello @Nrisimhanadh_Yandamuri
      Thanks for your reply..
      I have got all the required authorization.. But still I am not able to hit the service.. Please let me know what could be the solution..
    Thanks,
    Srinivas.

Maybe you are looking for

  • Can I install a hard drive myself w/out voiding Applecare?

    I am thinking of buying a new Powerbook, but I can only afford one with a 60 or 80GB hard drive. I have a 100GB hard drive in an older TiBook that I'd like to install in the new PB, but I need to know if I can do it myself, or would that void the App

  • Won't sync...Please Help!!

    Hey, I am really starting to get a little nervous!! My 80G 5th gen Ipod (that I have had no problems with for the past year & half), is giving me a little trouble. When I connect to I-tunes it, it won't sync and I get the message, "the disk cannot be

  • Problem exporting PDF document

    I have a form implemented as a PDF form and would like to add a workflow step to my process so that the PDF form can be sent as an email attachment. Based on a previous posting, it seems that I need to use the RepositoryServices Read Resource Content

  • Repeating successful uploads - procedure to delete all the requests/packets

    Hi friends, I have a sort of hypothetical question, so never mind if this makes sense in real life (actually, I can think of a few situations where it makes sense, but only as a last resort). Let's say I want to repeat the upload that was successful

  • Ideal powerline adapters with Infinity 2?

    As the title says, what would be a pretty good (and cheapish) set of powerline ethernet adapters to give best results with Infinity 2? The engineer set everything up this morning and I get near enough full 80/20. I use a set of 85Mbps TP-LINK adapter