Error in Consuming Webservice

Hi Expert,
  I have a problem in consuming webservice into my client proxy.
  when I test the client proxy it  will raise error  :
   SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
  Does anyone here has facing this problem too.
  And how to solve it.
  Need your advice please.
Regards,
Ikrar

Solved by thread Re: Get error "SoapFaultCode:1"Consume web service in ABAP proxy

Similar Messages

  • Error in Consuming webservice proxy in SAP

    Hi,
    I have a webservice which I am not able to consume in SAP. I get an error 'Cannot generate Proxy (object <attribute name="arrayType"> missing in WSDL, see long text').
    When i tried to search in SDN, I found a post which says that SAP doesnt support soapenc:Array types and it can be converted to corresponding Sequence. I went through the help link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/ce993b45cb0a85e10000000a1553f6/frameset.htm
    which has a link which shows an example.
    Accordingly, I have changed mine from:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <complexContent>
    - <restriction base="SOAP-ENC:Array">
      <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" />
      </restriction>
      </complexContent>
      </complexType>
      </schema>
    To:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring">
    - <sequence>
      <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
      </sequence>
      </complexType>
      </schema>
    After doing the above changes, I am able to consume webservice and create a proxy but it's not working. When i execute any method which is using the Arrayofstring, it gives me an error:
    Complex Types cannot be parsed.
    Is my above change in XML wrong. Do I need to do any other changes.
    Regards,
    Nikhil

    Anyone has any idea on how to solve this issue?

  • 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

  • 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 in consuming webservices using ABAP

    Dear Gurus,
    I am trying to consume webservices using ABAP. We dont have XI installed and no java instance installed.
    I created a customer proxy through SE80 and generated a proxy class by giving a WSDL link and also defined logical port. Traditionally followed the steps. But while testing webservices , I get a ICF error.
    The error is as follows:
    SOAP : 1:023 SRT : Processing error in internet communication framework ("ICF error when recieving the response  ICM_HTTP_CONNECTION_FAILED)
    Please let me know the cause of this error and solution to be provided.
    I also tried to call the method from an abap program, But I get CX_AI_SYSTEM_FAULT exception.
    Awaiting your replies.
    Thanks in advance for your support and valuable time.
    Thanks
    Gurushanthi

    Hi Gurushanthi,
    It could one of several problems, examples:
    - A firewall setting
    - http communication out disabled by Basis team or
    - The logical port wasn't configured correctly.
    Try the suggestions in this thread to narrow down the reason (particularly the telnet test from the server):
    [Re: Error testing external web service ICM_HTTP_CONNECTION_FAILED;
    Regards, Trevor

  • 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

  • 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

  • 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

  • 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

  • Error in consuming webservice in SE80 - SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION)

    Dear Gurus,
    Hope you all are fine. I am consuming 2 external WSDL's in ABAP (SE80 - Service Consumer). These are working fine in SAP DEV server. But when i execute tham in SAP QAS server, i am getting this error.
    (SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION))
    can anybody tell whet could be the problem?
    Thanks

    Dear Inaki,
    These proxies are working fine in DEV server. I transported them in QAS and tried to execute but getting that error. Networking team say that SAP and other servers can free communicate to each other.
    Regards

  • Error when consuming WebService SOAP in DataService 4.2

    Hi everybody,
    I've a problem when I try to import the function in DataService 4.2 (the Data Service version is 14.2.1.224).
    How you can see in the attachments file, I've created the DataStore WebServiceSoap with le right characteristics but when during the import i have the error.
    I've tried to use the web service
    https://po-cloud.com/POWebService/POService.asmx?wsdl
    in SOAPUI and in Strike Iron Webservice Analyzer and everything works correctly.
    Can anybody help me?
    Thanks a lot
    Simone

    Yeah, I'm getting a similar exception here, but it's when I run a client application whose stubs have been generated by the clientgen ANT task. Seems to have something to do with processing the Faults in my WSDL. I've traced the NPE to this line of code in
    weblogic.wsee.bind.internal.FormQualifiedHelper.getPropertyForElement:
    String s1 = bynamebean.getName().getXmlName().getQName().getNamespaceURI();
    bynamebean.getName().getXmlName().getQName() returns null.
    BEA, is this problem innocuous, and if so, is there a way to get rid of the exception? It's very disconcerting.

  • Error in Consuming Webservice in ABAP

    Hello Experts,
    I am very new to webservices in ABAP. just to test the webservice within ABAP, I created a Service Definition which gave me a WSDL URL using the Provider wizard. then I generated  proxy class to consume the WSDL URL generated in previous step . I am calling the proxy class within a program as below. It is raising a exception CX_AI_SYSTEM_FAULT . Does anyone have idea what this could be and how to correct it?
       TRY.
                  CALL METHOD TEST->ZTESSTHJKJH
                    EXPORTING
                      INPUT  = INPUT
                    IMPORTING
                      OUTPUT = output
                   CATCH CX_AI_SYSTEM_FAULT .
                   CATCH CX_AI_APPLICATION_FAULT .
                  ENDTRY.
    Thanks,
    Harkamal

    Hi Harkamal,
    It seems that the webservice provider and consumer are on the same server (loopback). It's probably releated with network access. You can follow SAP Note Number 1009109 (Analyzing Web service problems using the ICF recorder) to track down the sent and received soap messages . Alternatively, you can download and use "Webservice Studio", a small freeware program to test the webservice easily. Official website is: [http://webservicestudio.codeplex.com/]
    Good luck,
    Ozcan.

  • Soapfaultcode:1 Error when consuming webservice through abap proxy class

    Hi All,
    I am facing a issue executing a proxy class created by consuming web service.
    I have consumed a web service which queries data from oracle server to process them in SAP.We have created a Proxy class and did the following configurations:
    1) Created a logical port using SOAMANAGER
    2) In SICF t-code we have selected No proxy setting for local server.
    But when we execute the proxy class it gives an error as "SoapFaultCode:1'.
    Regards,
    Madhu.

    Hi Madhu,
    Please tel us how u have solved it. I am also facing this problem.
    I am trying to understand this problem description 'SOAP ACTION name by definition of the logical port.' via the thread Re: Get error "SoapFaultCode:1"Consume web service in ABAP proxy - But couldn't able to understand how to do this.
    Thank You,
    Regards,
    Naresh.

  • 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

  • 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

Maybe you are looking for

  • Sharing Problems---dropping files in "drop box" renders them locked

    Hi, I have a few macs on my home network and often share files between them. I sometimes use my iPod but since it's getting full, I also just connect to the other machines (file sharing is on) and drop it in the public>drop box folder. I hadn't done

  • Backing up ipad mini to MacBook Air

    how to synch or back up files and photos (mostly) ?  When plug in to USB port on Mac it does not show up as a storage device.  I am not using the cloud storage. I've read the iPad will be visible as a storage device by plugging in.

  • Testing Webservices in XI with XML Spy

    Hi ,       I am trying to define a Webservice in XI from the ID by going to Tools -> Define Webservice( the usual way ) and I got the WSDL.I am trying to use the same from XML Spy to send SOAP messages to XI.But there is something wrong in the link g

  • Datagrid combobox itemEditor event

    I have a datagrid populated by managed arraycollection by dataservice. One of the columns has an item Editor using a component ComboBox. Sofar all is fine but I have not been able to define an event that will be triggered when the combobox has change

  • Install photoshop 7.0

    PLEASE--      How can I reinstall Photoshop 7 without getting a componentmovedata error -115?????