Issue in webservice

Hi Team,
This is Naresh and i am having issue in Webservice while using Webservice Datasource through PowerBuilder 12.5.  After entering the URL in the Select WSDL File prompt, i am getting the error 'Cannot Access the WSDL or the WSDL file is Invalid'.  I have Created the WSDL file using SOAP webservice - JAX WS.
Please find the below WSDL file for your reference. Could you please help me on this?
Thanks
Naresh
--WSDL FILE Content
<?xml version="1.0" encoding="UTF-8"?><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI IBM 2.2.1-11/28/2011 08:28 AM(foreman)-. --><definitions name="SOHCustomerService" targetNamespace="http://service.soh.metlife.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.soh.metlife.com/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <types>
    <xsd:schema>
      <xsd:import namespace="http://service.soh.metlife.com/" schemaLocation="SOHCustomerService_schema1.xsd"/>
    </xsd:schema>
    <xsd:schema>
      <xsd:import namespace="http://com/metlife/soh/service/bean/" schemaLocation="SOHCustomerService_schema2.xsd"/>
    </xsd:schema>
    <xsd:schema>
      <xsd:import namespace="http://com/metlife/soh/common/bean/" schemaLocation="SOHCustomerService_schema3.xsd"/>
    </xsd:schema>
  </types>
  <message name="getCustomer">
    <part element="tns:getCustomer" name="parameters"/>
  </message>
  <message name="getCustomerResponse">
    <part element="tns:getCustomerResponse" name="parameters"/>
  </message>
  <message name="upsertCustomer">
    <part element="tns:upsertCustomer" name="parameters"/>
  </message>
  <message name="upsertCustomerResponse">
    <part element="tns:upsertCustomerResponse" name="parameters"/>
  </message>
  <portType name="CustomerServiceDelegate">
    <operation name="getCustomer">
      <input message="tns:getCustomer" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/getCustomerRequest"/>
      <output message="tns:getCustomerResponse" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/getCustomerResponse"/>
    </operation>
    <operation name="upsertCustomer">
      <input message="tns:upsertCustomer" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/upsertCustomerRequest"/>
      <output message="tns:upsertCustomerResponse" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/upsertCustomerResponse"/>
    </operation>
  </portType>
  <binding name="SOHCustomerServicePortBinding" type="tns:CustomerServiceDelegate">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getCustomer">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="upsertCustomer">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="SOHCustomerService">
    <port binding="tns:SOHCustomerServicePortBinding" name="SOHCustomerServicePort">
      <soap:address location="http://10.237.241.52:9081/SOHService/SOHCustomerService"/>
    </port>
  </service>
</definitions>

Anytime you have problems generating a proxy from a WSDL you can run the WSDL utility from the .Net SDK directly on the file or URL.  That utility gives you a lot more information about what the problem is, and it's what PB uses under the covers to generate the proxy.
When I do that with the WSDL you provided, I get:
Error: Unable to import binding 'SOHCustomerServicePortBinding' from namespace '
http://service.soh.metlife.com/'.
  - Unable to import operation 'getCustomer'.
  - The element 'http://service.soh.metlife.com/:getCustomer' is missing.
The big problem, at least when I run it, is that you've got references to three imports, and I don't have those files.
    <xsd:schema>
      <xsd:import namespace="http://service.soh.metlife.com/" schemaLocation="SOHCustomerService_schema1.xsd"/>
    </xsd:schema>
    <xsd:schema>
      <xsd:import namespace="http://com/metlife/soh/service/bean/" schemaLocation="SOHCustomerService_schema2.xsd"/>
    </xsd:schema>
    <xsd:schema>
      <xsd:import namespace="http://com/metlife/soh/common/bean/" schemaLocation="SOHCustomerService_schema3.xsd"/>
    </xsd:schema>

Similar Messages

  • Performance issues with Webservices in XI

    Hi,
    Friends,
    my issue is with the performance of webservices.how to improve performance of webservices in XI?
    We don't have any hardware issues.no big mapping or payload.webservice is actually residing in the XI server.there is a bottleneck somewhere which is hampering the performance.
    Any advice is greatly appreciated!
    Thanks and Regards,
    Pavan M.
    Chicago,US

    Hi,
    Is XI a webservice provider or consumer?
    If XI is the consumer, then you can use any SOAP client tool (there are lots of generic 3rd party soap client test tools on the internet) to execute the webservice to detemine whether it is causing performance problem.
    If XI is the provider, you can take the sender soap adapter out of the equation by using a HTTP client test tool.
    The SXI_MONITOR also provides execution time for every step in the pipeline of the XI engine.
    Regards,
    Bill

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • Sender SOAP Adapter issue with webservices for authorization.

    Hi All
    Issue:
    As we are developing a Web Service to fetch account balance from SAP(upon receiving the account no from client) and have given the wsdl file to J2EE application  to call or make use of the service.  But as a part of that service they expect userid/password to be entered manually from client  pop-up.  At this point of time, we don't want to enter userid/password manually but  we want this to be hardcoded/embedded in Webservice so that  there is no need of manual intervention upon calling this service.
    Actual Requirement:
    From Webservices to R/3-ECC6.0-IS-Banking-RFC (Synchronous Interface)
    Sender: SOAP Adapter synchronous
    Receiver: RFC Adapter synchronous
    Note: Requesting a account number and getting response from RFC is account Balance and Date to webservice
    Regards
    Kiran kumar.s

    Hi praveen,
    Thanks for ur  reply.What you said is exactly right but for time being i have to make the client not get the authorization(password--Username and password(pop-up)) when he invokes the WSDL into webservice for that u told that to write some hardcode in J2EE application,but i don't know that where to write and what to write.so, if possible can u give me the code and procedure.
    This is the URL:
    http://hcl3sap:50000/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_SOAPSENDER
    Regards,
    kiran kumar.

  • Regarding Connection Time Out issue in Webservice call to database.

    Hi,
    We are facing one issue with the webservices call to DB and ILOG. We are declaring and executing the webservice in the following way-
    //Request Object
    EDP.ILog.PEWM_EXPDOC_Help_Information_ProxyService.DecisionServiceRequest helpRequest = EDP.ILog.PEWM_EXPDOC_Help_Information_ProxyService.DecisionServiceRequest();
    //Response Object
    EDP.ILog.PEWM_EXPDOC_Help_Information_ProxyService.DecisionServiceResponse helpResponse = EDP.ILog.PEWM_EXPDOC_Help_Information_ProxyService.DecisionServiceResponse();
    //Proxy Service Object Initialisation
    DecisionServicePEWM_EXPDOC_Help_InformationService helpService = DecisionServicePEWM_EXPDOC_Help_InformationService();
    helpService.executeDecisionService(parameters : helpRequest, out parametersOutput : helpResponse);
    All the webservices are configured corectly in External Resources of Process Administrator. Now, the issue is that whenever we are trying to execute the service with good amount of load on OBPM Process Admin Engine, it is throwing the following exception-
    "Exception:java.net.ConnectException: Connection timed out: connect"
    We are unable to find the root cause of the issue as the webservices call is still throwing the above exception.
    Please provide some resolution as soon as possible.
    Thanks in advance,
    Abhishek

    Just to be sure, we're talking about a client process in BPM accessing an ILOG web service or a DB web service, right? Is this DB web service something custom built?
    Be aware that certain things can run inside the workspace and not the engine. You almost have to work at making this happen. The easiest way is to make this happen is to invoke a BPM object method from within a BPM object presentation or JSP. If you do have this situation open the BPM object method and click on properties and check the box run on server side.
    I can't think of anything that wouldn't scale for connections to Web Services in an engine. I'd be looking at tuning your ILog Web services. Perhaps it can't keep up and the engine gets a timeout. How often does this happen? The engine should retry the automatic until is works. But it tries 3 or so times, it gives up. This retry is configurable.
    HTH,
    Mark

  • Issue with Webservice for HR

    This is my problem. Have been at it for a few days now and have very little hair left.
    I have a custom BAPI that wraps ENQUEUE, BAPI_ADDRESSCREATESUCCESSOR and DEQUEUE.
    Works like a charm when executed in se37. When I make a webservice out of it, it complains "Fill in all required entry fields". I have even hardcoded the values to be passed in the BAPI itself and still does it.
    Basically no matter what I do, it complains there is something missing. I enter values for every import parameter that is being passed, still no avail.
    I also tried the same thing with the DELIMIT bapi, and the same issue. I am ofcourse trying from wsnavigator to test this and always get the same error message. Have tried to set breakpoints etc - still the same error. What pisses me off is that the BAPI works from se37. Anyone have any ideas with such situations?
    Thanks.

    Hi BR,
    How are you testing the web service? Soap client?
    I had something slightly similar the other day, that was caused by a mandatory export parameter not being passed back. Maybe that's something you could check?
    Best Regards, Trevor

  • Issue: Testing Webservice SOAMANAGER

    Hi Experts,
    I published a WebService in SAP ECC6.0 using a Remote enabled function module which has one input field and Six output fields.
    I have Created Webservice using SE37 Tcode.
    In ECC 6.0 WSCONFIG,WSADMIN and LPCONFIG Tcodes are obsolete .So i have using tcode SOAMANAGER settings like Applications and Scenario Communications->Single Service Administrater-> link i have searched my newly created Webservice ->Apply settings ->Open Web Service navigator for selected binding -> getting URL and XML code on that..
    SOAP processing-> i have created new project and consume the Webservice form here.
    issue:
    i am facing issue like below some SRT: Authorization Denied. for your referrance i have copied the xml code.
    i searched to get resolved the issuse by roles need to added to my userid so i ahve added roles SAP_BC_WEBSERVICE_CONSUMERu2019 to my account but i am facing same issue.
    Let me know any configuratons or authorizations we required  in my SOAMANAGER to test WS.or How to setup the  WSNAVIGATOR for this scenario.
    Regards,
    Samruth.

    An alternative is:
    use txn WSADMIN and open the node for your web-service. Then, press the 'Rench' button or F8 to open the web based test tool.
    You need to provide logon credentials if basic authentication was required for the WS.
    Pls reward points if helpful.

  • XML format Issue with Webservice

    Hi,
      Currently when I generate the XML payload in XI, it is generating as below one. But the 3rd party webservice is expecting everything in on elong big string. How can I do this in XI to convert my XML data after mapping to one long string before calling the webservice.
    Current XML Data
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:PutXMLDocument xmlns:ns1="http://test.com/SMIWebService/">
    - <XMLString>
    - <Contracts>
    - <Control>
      <createdWhen>2006-06-13T06:27:12</createdWhen>
      <destinationAddress />
      <documentGUID>e4a14426-9d02-4e2e-8a91-68fc81f1a672</documentGUID>
      <operation staticValue="Change" />
      <schemaVersion>31N</schemaVersion>
      <sourceAddress>Global</sourceAddress>
      <version>3.00</version>
      </Control>
    - <Contract>
      <contractAmount>2050.00</contractAmount>
      <contractBillingType staticValue="Per Contract" />
      <contractCurrency staticValue="United Kingdom - Pound">Constant</contractCurrency>
      <contractDataSource dynamicValue="SAP">Constant</contractDataSource>
      <contractEffectiveDate>2007-01-01</contractEffectiveDate>
      <contractExpirationDate>2007-12-31</contractExpirationDate>
      <contractIdentifier>ff27ab1e-3187-4d37-9122-24769d246c9d</contractIdentifier>
      <contractIncludeLaborIndicator>1</contractIncludeLaborIndicator>
      <contractIncludeLaborIndicatorForOther>0</contractIncludeLaborIndicatorForOther>
      <contractIncludeMaterialIndicator>1</contractIncludeMaterialIndicator>
      <contractIncludeMaterialIndicatorForOther>0</contractIncludeMaterialIndicatorForOther>
      <contractLaborDuration>0</contractLaborDuration>
      <contractLastRenewalDate>2007-11-01</contractLastRenewalDate>
      <contractMaterialDuration>0</contractMaterialDuration>
      <contractNotificationDate>2007-11-01</contractNotificationDate>
      <contractNumber>0040000189</contractNumber>
      <contractReconciliationStatus staticValue="Reconciled" />
      <contractStartDate>2007-01-01</contractStartDate>
      <contractStatus staticValue="Active" />
    - <Customer>
      <customerIdentifier>fe3ccebc-6f64-4849-95d5-0b3b84c204d6</customerIdentifier>
      </Customer>
    - <contractBusinessUnit dynamicValue="UK">
      <businessUnitDescription>United Kingdom</businessUnitDescription>
      </contractBusinessUnit>
      </Contract>
      </Contracts>
      </XMLString>
      </ns1:PutXMLDocument>
    3rd Part Expectation
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:PutXMLDocument xmlns:ns1="http://test.com/SMWebService/">
      <ns1:XMLString><Contracts><Control><createdWhen>2006-06-08T07:03:55</createdWhen><destinationAddress></destinationAddress><documentGUID>A9A5107B-45A6-43A4-8218-D72C8115C9CB</documentGUID><operation staticValue="Change"/><schemaVersion>31N</schemaVersion><sourceAddress>Global</sourceAddress><version>3.00</version></Control><Contract><contractAmount>2050.00</contractAmount><contractBillingType staticValue="Per Contract"/><contractCurrency staticValue="United Kingdom - Pound"/><contractDataSource dynamicValue="SAP"/><contractEffectiveDate>2007-01-01</contractEffectiveDate><contractExpirationDate>2007-12-31</contractExpirationDate><contractIdentifier>ADBBF61C-8188-4614-B38E-C66853BD18DF</contractIdentifier><contractIncludeLaborIndicator>1</contractIncludeLaborIndicator><contractIncludeLaborIndicatorForOther>0</contractIncludeLaborIndicatorForOther><contractIncludeMaterialIndicator>1</contractIncludeMaterialIndicator><contractIncludeMaterialIndicatorForOther>0</contractIncludeMaterialIndicatorForOther><contractLaborDuration>0</contractLaborDuration><contractLastRenewalDate>2007-11-01</contractLastRenewalDate><contractMaterialDuration>0</contractMaterialDuration><contractNotificationDate>2007-11-01</contractNotificationDate><contractNumber>0049900189</contractNumber><contractReconciliationStatus staticValue="Reconciled"/><contractStartDate>2007-01-01</contractStartDate><contractStatus staticValue="Active"/><Customer><customerIdentifier>FE3CCEBC-6F64-4849-95D5-0B3B84C204D6</customerIdentifier></Customer><contractBusinessUnit dynamicValue="UK"><businessUnitDescription>United Kingdom</businessUnitDescription></contractBusinessUnit></Contract></Contracts></ns1:XMLString>
      </ns1:PutXMLDocument>
    Thanks in advance for the help.
    Thanks
    Sri

    Hi,
    Check this Blog-
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Hope this helps,
    Regards,
    Moorthy

  • SOAP Adapter:  Content Type Issue in WebServices via HTTP

    Hi,
    I have configured a Receiver SOAP adapter. When i had to test the message i had an HTTP 415 error.
    i found that the sender SOAP adpater that received this message is not capable of handling Content-Type: Application/XML i.e. which is being transmitted by the Receiver SOAP Adapter.
    Please let me know how to configure in the Receiver SOAP adapter so that the HTTP Content-Type would be TEXT/XML instead of Application/XML .
    Thanks in Advance,
    Venkatesh

    Hi Michal,
    I have created a Web service for a RFC function Module. The webservice is available in SOAMANAGER.
    It got activated also .  But whenever I tried to test, I am getting the below error,
    "Message Envelope not found. Probably Empty SOAP message"
            Request:
            POST /sap/bc/srt/rfc/sap/yotci_i015_linkp8sap/100/yotci_i015_linkp8sap/yotci_i015_linkp8sap HTTP/1.1
    Host: sapkrftewd01.krft.net:8030
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Authorization: <value is hidden>
    Content-Length: 657
    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:YotciI015Linkp8sap xmlns:ns1='urn:sap-com:document:sap:soap:functions:mc-style'><IvParam1>POD</IvParam1><IvParam2>00006095</IvParam2><IvParam3>01/14/2009</IvParam3><IvParam4>PDF</IvParam4></ns1:YotciI015Linkp8sap></SOAP-ENV:Body></SOAP-ENV:Envelope>
             Response:
            HTTP/1.1 500 Message E 1S 406 cannot be processed in plugin mode HTTP
    content-type: text/xml; charset=utf-8
    content-length: 0
    accept: text/xml
    sap-srt_id: 20090224/141936/v1.00_final_6.40/49A4677A2D0736EDE10000000A3597E9
    server: SAP Web Application Server (1.0;700)
    Is this because of "do not use SOAP envelope" check?
    I didn't check this check box.
    If that is the error could you please tell me how to see the "do not use SOAP envelope"?
    Where can I find SOAP channel?
    I am very new to SOAP concept. 
    One JAVA application is going to invoke this Webservice from SAP.
    Please help me.
    Thanks,
    Bala.

  • Issue with Webservice Creation using Session Beans.

    Hi All,
    I want to expose my Session beans as webservice.
    I'm using Weblogic Application Server.
    When I do the modeling using JDeveloper, I'm unable to convert the Session bean to webservice.
    Any information on this is highly appreciable.
    Thanks & Regards,
    Kumar Madhavan.

    I can't give you much of a walk through, as I have just started it myself, but I'm using a universal unique identifier to represent each client. Whenever a client posts data from a jsp or applet the uuid is also sent. I use POST to pass all my parameters. If the server hasen't received data in say 5 minutes from the client then it is assumed the client went offline. Its working for me so far.
    COn

  • Issue with WEBSERVICE- PROCESSDIALOG method

    Hi Guys,
                  I am calling WEBSERVICE->PROCESSDIALOG method in a task.
    This is listing a task in UWL in EP. When I open and process this task getting the following error.
    Page not found or Available.
    How to find out which view is called when I select the task in UWL.
    I think it will probably an WebDynpro iView.
    Cheers
    Senthil

    Hi,
         Its basically Page Not Found error in UWL.
    There are other process in the same workflow are working fine in UWL.
    I check the services in SICF, they are active.
    Is there anything I am missing in the task definition.
    Is it WebFlow Service Executed should be active at the task outcome tab.
    Cheers
    Senthil

  • Issue with Webservice

    Hi All,
    I have created a WebService in SE80 and had done all the settings. But when I am trying to publish the Websercie using WSPULISH and I am getting the error "Exception raised during physical system publication. Code : "
    Can anyone help me out with a solution.
    I have gone through the blogs and checked all the configuration mentioned in them. Everything seems right.
    Regards,
    Kavuri.

    DataControls.dcx & connections.xml (.adf/META-INF)

  • Authentication issue in Webservice - PI - R3 scenario

    Hi experts,
    We have a scenario Webservice - > PI -> R3 wherein data is being pushed using SOAP messages from webservices . We have used a sender SOAP adapter.
    Normally when data is pushed from any webservice it asks for UID and PWD where the UID and PWD of XI needs to be given
    Now the problem is the sender Webservice here is not developed to support any authentication .and they want they should be able to pass the data to PI without such authentiction.
    Is it possible ? If yes how
    Points will be rewarded

    hi santhosh
    here XI will act as a webserver and regarding authentication check the below blog
    *How to use Client Authentication with SOAP Adapter     *                         
    How to use Client Authentication with SOAP Adapter                              
    reward points if helpfull
    regards
    kummari

  • Issues invoking webservice hosted on Aqualogic Proxy service.

    Hi,
    This is my first "Hello world..." forum experience.
    I'm facing problems while invoking webservice hosted on Aqualogic Proxy Service in my local machine;
    I'm using Weblogic 10 (Oracle Service Bus 10gR3 ).
    1) I've used weblogic's "weblogic.wsee.tools.anttasks.ClientGenTask" to generate java code from wsdl file
    2) Created a stand-alone client
    code fragment :
    try{
    ServiceActivationNoticationService notificationService = new ServiceActivationNoticationService_Impl("http://localhost:7001/ServiceActivationInterface/FroxyServices/ServiceNotification".concat("?WSDL"));
    ServiceActivationNoticationPortType notificationServicePortType = notificationService.getServiceNotification();
    Empty response = ((ServiceActivationNoticationPortType_Stub)notificationServicePortType).serviceNotification(notification);
    catch(){
    System.err.println(ex.toString());
    logger.debug("Service Notification Exception...", ex);
    throw new Exception("Service Notification Exception...", ex);
    Comiling successfully but when I run I'm getting the follwing exceptions:
    Caused by: java.lang.NullPointerException
         at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.access$000(ByNameRuntimeBindingType.java:314)
         at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.getMatchingElementProperty(ByNameRuntimeBindingType.java:253)
         at com.bea.staxb.runtime.internal.ByNameUnmarshaller.findMatchingElementProperty(ByNameUnmarshaller.java:71)
         at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:43)
         at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshal(AttributeUnmarshaller.java:38)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:174)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalElement(UnmarshalResult.java:227)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshalElement(UnmarshallerImpl.java:166)
         at weblogic.wsee.bind.runtime.internal.LiteralDeserializerContext.unmarshalElement(LiteralDeserializerContext.java:87)
         at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeElement(BaseDeserializerContext.java:180)
         at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeElement(BaseDeserializerContext.java:115)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:490)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeReturn(SoapDecoder.java:400)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:170)
         at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:121)
         at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:175)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeOutput(CodecHandler.java:126)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:103)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.handleResponse(CodecHandler.java:80)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:159)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:114)
         at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
         at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
         ... 3 more
    But If I create a soap message manully and invoke the same webservice, it works fine.
    Please reply soon....
    Thanks in Advance.

    Hi James,
    Thanks for your reply, and directing me to appropriate threads.
    The problem is with one of wsdl element.
    My requirement is an empty element:
    so I've created
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </element>
    when I use this element for output type as below...
    <wsdl:input message="service" type="xxx:service"/>
    <wsdl:output message="emptyResponse" type="xxx:empty"/>
    weblogic clientgen code is able invoke service successfully but the response is causing problem.
    But when I changed empty element to
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="abcd" type="xsd:string" minOccurs="0"/> I'll not use this at all.
    </xsd:sequence>
    </xsd:complexType>
    </element>
    Everything is working fine now in this case. ************************************************************************
    But I'm not sure what's wrong with
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </element> because specifications says this is the way to define an empty element type.
    What's wrong with this....
    Thanks.... to Hello world! Response....

  • A critical issue for WebService and HTTP Analyzer

    According to the tutorial Building Web Services(the url is :http://www.oracle.com/technology/obe/obe11jdev/11/ws/ws.html)
    the source code of HelloService.java
    ============================================
    package annotation;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.xml.ws.BindingType;
    import javax.xml.ws.soap.SOAPBinding;
    @WebService(serviceName="HelloService")
    @BindingType(SOAPBinding.SOAP11HTTP_BINDING)
    public class HelloService {
    public HelloService() {
    @WebMethod
    public String sayHello(String s){
    return "Hello " +s;
    ===================================================
    I created a simple WebService named HelloService, but when run TestWebservice
    it open HTTP Analyzer to test , enter a string "Gary" and click send request,
    it was expected that it response a string "Hello gary",
    However, HttpAnalyzer display "The Select Message is not soap message"
    under the tab "Http content", it show me that:
    ==============================================
    500 Server Error
    The following error occurred: [code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems
    ==============================================
    Expecting any suggestions for this problem, thanks

    Hi,
    It sounds like you need to add "localhost" to the exclusion list in your proxy settings. You need to stop the "HTTP Analyzer" first, then go to Tools->Preferences->Web Browser and Proxy. In the exclusion list add in "localhost|127.0.0.1".
    Give this a go and get back to me if there is a still a problem,
    Gerard Davison
    JDeveloper Web Services Team

Maybe you are looking for