Web services references problem:  WSDL document was unretrievable

I've tried to add a web service reference to my application. I followed the examples given in the user guide, but none of the web services are available. (IBM and Xmethods). I also tried the bookstore application from the studio (http://soap.amazon.com/onca/soap3), it didn't work either.
Error message:
"The WSDL document was unretrievable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application."
I am wondering perhaps I have to setup in somewhere such as proxy server (I don't use proxy for internet browsing though) to be able to use webservices.
May somebody with htmldb webservice experiences shed some light on this?
Thanks in advance.

Thanks for the information Eric.
I donot want to use Axis because Axis doesn't allow me to configure XMLBeans for serialization and deserialization. I am using XMLBeans to prepare my response in XML form.
I am using XSDs to define my input and output XML structure. This way Client applications can use this XSD to build the input XML and to validate the output XML that they get from web service. I also defined WSDL on my own (using some editors)which will make use of these XSDs to
define request and response. I wrote my own ANT script which will do the same processing as WebServiceAssembler.
EAR file that is generated by my ANT script is working fine.. I was able to send the request and get the response from webservice.
Now I have realized that Oracle is NOT doing the input and output validation eventhough I have specified my input and ouput XSD in WSDL. I can send any 'format' of XML input to my webservice and get any 'format' of XML output, which is NOT GOOD. Is there anyway that I can force Oracle to do the input XML and output XML validation ? or it has to be handled by developer?
Sorry for long mail.
Thanks for your time, Kiran

Similar Messages

  • Error in creating Web service reference using WSDL

    Hi Experts,
    I'm using apex 4.1, Oracle 11g
    ERROR MESSAGE: The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests
    I know this is a famous issue apex devs faced. I'm having the same problem now. I went through many forums and websites and came to a conclusion that this is something to do with
    ACL.
    This is wat i'm trying.
    1) I have Apex and my web service running on the same server. (We don't use proxy server to connect to W'service)
    2) This is the path of the WDSL document i gave - 127.0.0.1/EPRWS/DashboardService.asmx?WSDL
    3) I created a default Oracle Wallet by giving no other information other than user name password.
    4) i gave the default wallet's user name, password in apex app.
    5) The only data that I inserted into ACL table as follows,
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'FLOWS_030000', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    begin
    dbms_network_acl_admin.add_privilege (
    acl => 'power_users.xml',
    principal => 'FLOWS_030000',
    is_grant => TRUE,
    privilege => 'connect'
    END;
    I guess the data inserted into ACL tables as given above to give user privilege is not accurate. Could someone explain me how to properly populate the ACL tables and what exactly needs to be inserted into both ACL tables ? And Should we give anyother information when we create a wallet to fix the able issue ?
    Thanks in advance
    Kurubaran.

    Thanks Role for your reply. As you said i used "APEX_040100". Following script did the magic and now i can call the service. :)
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.create_acl (
    acl => 'power_users.xml',
    DESCRIPTION => 'A test of the ACL functionality',
    principal => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => SYSTIMESTAMP,
    end_date => NULL);
    DBMS_NETWORK_ACL_ADMIN.assign_acl (
    ACL => 'power_users.xml',
    HOST => '*',
    LOWER_PORT => NULL,
    upper_port => NULL);
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    acl => 'power_users.xml',
    PRINCIPAL => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    start_date => NULL,
    END_DATE => NULL);
    COMMIT;
    END;
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
    acl => 'proxy_rule.xml',
    DESCRIPTION => 'A test of the ACL functionality',
    principal => 'APEX_040000',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => SYSTIMESTAMP,
    end_date => NULL);
    DBMS_NETWORK_ACL_ADMIN.assign_acl (
    ACL => 'proxy_rule.xml',
    HOST => '*',
    LOWER_PORT => '80',
    upper_port => '80');
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    ACL => 'proxy_rule.xml',
    PRINCIPAL => 'APEX_040000',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    start_date => NULL,
    END_DATE => NULL);
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    acl => 'proxy_rule.xml',
    PRINCIPAL => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    START_DATE => NULL,
    END_DATE => NULL);
    COMMIT;
    END;
    /

  • Web service reference problem

    Hi, I am trying to create a web service reference from Windows Dynamic CRM web services. CRM uses windows authentication. I can open WSDL file with IE and firefox. But the same username and password don't work with APEX.
    Does anyone have a clue? Many thanks!
    Crystal
    Edited by: user8991541 on Aug 4, 2010 8:40 AM

    I was able to resolve the problem -- in the latest version of the RESTful web service that I created, I had left out the creation of the Header Parameter bind variable. Once I did that everything works fine!! I was able to test in the application and got the record of an individual student.
    Thanks,
    PM

  • Error in Create Web Service Reference

    Hi ALL,
    i am trying to create we service reference with wsdl url and i got the below error
    1 error has occurred
    * The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests.
    Please through some light on this....
    My Apex application server is SSL enabled.
    Thanks in Advance,
    Santhosh Tirunahari

    Have you made sure you can see the WDSL if you paste the url in the browser?

  • Problem when WSDL changes for a Web Service Reference

    Hi
    I have a Web Service Reference that is accessed by several reports and processes within APEX.
    The problem that I am experiencing is that, when the Web Service changes, as it has been doing quite often due to development, I can find no way of updating the Web Service Reference in order that the additional input and output parameters become available to the associated reports and processes. The only solution that I have found is to recreate the Web Service Reference going through the same wizard process and giving the Web Service Reference the same name as previously.
    However when the Web Service Reference has been recreated all reports and processes that accessed the old web service have blank values for source, input and output parameters. This means that I have to build the reports and processes again from scratch.
    Does anyone know of a better method of “refreshing” a web service in order to expose any new inputs or outputs defined with the WSDL without breaking existing functionality?
    Regards
    Ian

    Hi,
    My solution is simple: add new service reference, then new methods can be atached to the old service refernce with the followind block
    begin
    update WWV_FLOW_WS_OPERATIONS fo
    set
    FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    where
    FO.NAME not in
    (select
    FOO.NAME
    from WWV_FLOW_WS_OPERATIONS foo
    where FOO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    and FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW')
    delete from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW';
    end;
    If you change only params it wont help. Ypu have to recreate the code that breaks again.
    I hope this helps.

  • Problem getting RESTful web service reference working with header value

    Hi,
    I posted this on Apex Listener forum but since I am not sure problem is with my Application RESTful web service reference or a Listener issue, I am posting here as well:
    I am on Apex 4.2.2 and Listener 2.1 and the listener is on WEblogic.
    I succeeded to get a RESTful web service working in an application with no header to obtain a full set of data. The data set is very large, so I am now just trying to set up a web service to get a set of data based on a student ID.
    I followed the examples shown in the RESTful web service module of SQL Workshop and set up a handler of this type:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    The test for this handler succeeded both for JSON output and CSV output in the Workshop test environment.
    However, when I try it from a Web Service Reference that I created for my application following what looked like the same approach used on the example video, I get NO data back. If I put a 'stid' directly into a URL of a web browser and do the basic authentication I get the data!!
    This is what I have for the Web service reference:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    Basic auth set to Yes -- and this is working -- I am able to authenticate
    HTTP method Get
    output format Text
    no response Xpath
    no response namespace
    defaults for new record and parameter delimiter
    NO REST input parameters
    Output set for all the fields in the data set queried (same set of data as in my rest service which does not have any http header)
    REST HTTP Header : Name stid
    I there something I am missing. I am not sure how to troubleshoot this further.
    I also tried exactly following the example shown on the Oracle Video for RESTFul web services at
    http://www.youtube.com/watch?v=gkCvd6P8_OU
    and I can't get the 2nd example to work either-- where the header has the bind variable parameter.
    Pat

    I was able to resolve the problem -- in the latest version of the RESTful web service that I created, I had left out the creation of the Header Parameter bind variable. Once I did that everything works fine!! I was able to test in the application and got the record of an individual student.
    Thanks,
    PM

  • Creating Web Service Reference

    I have no experience whatsoever with web services/soap/etc.
    I am testing PayPal's Website Payments Pro to see if I can integrate it easily with HTML DB.
    I click on my application, then go to Shared Components --> Web Service Reference --> Create
    I select "No" for "Do you want to search a UDDI registry to find the WSDL?"
    For WSDL Location, I enter:
    http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
    and click Next.
    1 error has occurred
    The WSDL document could not be understood by the HTML DB engine. I found no references in the forum to either "soap" or "wsdl."
    Is there any documentation on this?
    HTML DB version 1.6, DB 10.1
    Thanks
    chet

    Apparently the search utility was broken the night/morning I posted this. I did find a few posts on others problems with WSDL. One in particular, Misunderstood WSDL file. suggested it might be Oracle's parsing or something like that.
    I have read that there is not a W3C standard yet.
    I really, really don't want to have to write java ever again. Please tell me there is a workaround...
    chet
    Message was edited by:
    Chet Justice
    Message was edited by:
    Chet Justice

  • Error when trying to create a web service from a wsdl file using jdeveloper

    Hello,
    I'm using the latest jdeveloper and jdk 6 update 20 on solaris sparc 10.
    When I'm trying to create a web service from a wsdl on the java EE 1.5 platform i get the following error:
    Validation failed:
    java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    I've tried the endorsed mechanism with the latest jaxws-api.jar and jaxb-api.jar packages with no help.
    It works fine when i use the java EE 1.4 platform....
    The full Error description:
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:745)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:364)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)+
    +     at java.lang.Thread.run(Thread.java:619)+
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)+
    +     at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)+
    +     ... 8 more+
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)+
    +     at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)+
    +     at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:597)+
    +     at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)+
    +     at $Proxy34.getJaxWsSeiInfo(Unknown Source)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)+
    +     ... 11 more+
    Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:186)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:209)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:164)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:75)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:89)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:76)+
    +     at sun.reflect.GeneratedConstructorAccessor53.newInstance(Unknown Source)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)+
    +     at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:75)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:751)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:539)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:241)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:181)+
    +     at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:251)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)+
    +     at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)+
    +     at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)+
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:647)+
    +     ... 20 more+
    Caused by: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at java.lang.Class.getMethod(Class.java:1605)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:184)+
    +     ... 40 more+
    Thanks,
    Roy.

    Guys,
    You are asking about an issue that was a pain in the nick for me few months ago. The problem is that you won't find mych help here as I figured out that Apex geeks here either did not do much webservices or ended up hating it as i do :) . This is an error that can be due many different reason, let me ask you this:
    1- Does your the other system you are trying to call through webservices using HTTPS ?
    2- If yes, did you create a valid oracle wallet for that https connection ?
    3- Make sure you are using the correct URL ( am sure you do, just double check )
    4- If using a proxy, then you have to define that in the web service reference creation page
    provide more info and I hope I can help you with this,
    Sam
    Please reward good answers by marking them correct or helpful!

  • Error when test a web service reference

    Hello,
    After creating a web service reference and when i make a test of any method, i get the fowling error:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance of an object.</faultstring><detail /></soap:Fault></soap:Body>
    </soap:Envelope>
    This is the WSDL definition:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:webservices.x-arq.mind.pt/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:webservices.x-arq.mind.pt/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="urn:webservices.x-arq.mind.pt/">
    <s:import namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    <s:import schemaLocation="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx?schema=ResultadosPesquisa" namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    <s:element name="ObterNumeroResultados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterNumeroResultadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="ObterNumeroResultadosResult" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosEmObjecto">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosEmObjectoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosEmObjectoResult" type="tns:ArrayOfResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfResultadoPesquisa">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="ResultadoPesquisa" nillable="true" type="tns:ResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ResultadoPesquisa">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="ContemFicheirosDigitalizados" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="UrlFicheirosDigitalizados" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="EstadoCiarq" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="ObterResultados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosResult">
    <s:complexType>
    <s:sequence>
    <s:any namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosEmObjecto">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="NumeroResultados" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="IndicePrimeiroResultadoDevolver" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosEmObjectoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosPaginadosEmObjectoResult" type="tns:ArrayOfResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="NumeroResultados" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="IndicePrimeiroResultadoDevolver" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosPaginadosResult">
    <s:complexType>
    <s:sequence>
    <s:any namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="ObterNumeroResultadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterNumeroResultados" />
    </wsdl:message>
    <wsdl:message name="ObterNumeroResultadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterNumeroResultadosResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosEmObjectoSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosEmObjecto" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosEmObjectoSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosEmObjectoResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultados" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosEmObjectoSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosEmObjecto" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosEmObjectoSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosEmObjectoResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginados" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosResponse" />
    </wsdl:message>
    <wsdl:portType name="XarqCRMWebServiceSoap">
    <wsdl:operation name="ObterNumeroResultados">
    <wsdl:input message="tns:ObterNumeroResultadosSoapIn" />
    <wsdl:output message="tns:ObterNumeroResultadosSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <wsdl:input message="tns:ObterResultadosEmObjectoSoapIn" />
    <wsdl:output message="tns:ObterResultadosEmObjectoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <wsdl:input message="tns:ObterResultadosSoapIn" />
    <wsdl:output message="tns:ObterResultadosSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <wsdl:input message="tns:ObterResultadosPaginadosEmObjectoSoapIn" />
    <wsdl:output message="tns:ObterResultadosPaginadosEmObjectoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <wsdl:input message="tns:ObterResultadosPaginadosSoapIn" />
    <wsdl:output message="tns:ObterResultadosPaginadosSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="XarqCRMWebServiceSoap" type="tns:XarqCRMWebServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ObterNumeroResultados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterNumeroResultados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosEmObjecto" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginadosEmObjecto" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="XarqCRMWebServiceSoap12" type="tns:XarqCRMWebServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ObterNumeroResultados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterNumeroResultados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosEmObjecto" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginadosEmObjecto" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="XarqCRMWebService">
    <wsdl:port name="XarqCRMWebServiceSoap" binding="tns:XarqCRMWebServiceSoap">
    <soap:address location="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx" />
    </wsdl:port>
    <wsdl:port name="XarqCRMWebServiceSoap12" binding="tns:XarqCRMWebServiceSoap12">
    <soap12:address location="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thanks for your help!
    From Portugal,
    Helder Dinis
    Edited by: Helder Dinis on Oct 22, 2009 5:52 PM

    Hello,
    First, I would like to thank you for your help.
    Below is the SOAP envelope (request) that was created by the Application Express engine based on the Web service reference definition.
    Input parameters:
    Obra: 35078
    Processo: 2073/DCEOD/I/1960
    Morada: BECO BUGIO
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body><ns1:ObterResultadosEmObjecto xmlns:ns1="urn:webservices.x-arq.mind.pt/urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd"><ns1:Obra>35078</ns1:Obra><ns1:Processo>2073/DCEOD/I/1960</ns1:Processo><ns1:Morada>BECO BUGIO</ns1:Morada></ns1:ObterResultadosEmObjecto></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    From Portugal,
    Helder Dinis

  • Creating web service client with WSDL in NetBeans

    NetBeans: 5.5
    Java: 1.6
    WSDL: http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
    Using netbeans, I can't seem to successfully generate the stubs for a client based on the WSDL file above.
    SoapUI ( www.soapui.org ) has no problems receiving and creating the client stubs using the same WSDL file.
    The error I'm getting in the dialog is "Illegal attempt to exit early".
    Further details from the output window reads as follows:
    -=-
    warning: src-resolve: Cannot resolve the name 'impl:ArrayOf_tns2_RemoteEntity' to a(n) 'type definition' component.
    line 0 of file:/C:/Documents%20and%20Settings/Alexander%20Trauzzi/JavaApplication2/xml-resources/web-service-references/jirasoapservice-v2/wsdl/jira.atlassian.com/rpc/soap/jirasoapservice-v2.wsdl#types?schema2
    warning: src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component.
    line 0 of file:/C:/Documents%20and%20Settings/Alexander%20Trauzzi/JavaApplication2/xml-resources/web-service-references/jirasoapservice-v2/wsdl/jira.atlassian.com/rpc/soap/jirasoapservice-v2.wsdl#types?schema3
    error: undefined simple or complex type 'soapenc:Array'
    line 0 of file:/C:/Documents%20and%20Settings/Alexander%20Trauzzi/JavaApplication2/xml-resources/web-service-references/jirasoapservice-v2/wsdl/jira.atlassian.com/rpc/soap/jirasoapservice-v2.wsdl#types?schema3
    -=-
    And on and on...
    What is going on? Why can't I generate my web service client? Any help is greatly appreciated!

    There is a bug in the processLauncher for deploytool. The workaround is to edit the processLauncher.xml located under <AS_INSTALL>/lib/processLauncher.xml and add
    add xalan.jar and mail.jar to the classpath includes of the s1as-deploytool process:
    includes="appserv-assemblytool.jar,activation.jar,appserv-admin.jar,appserv-cmp.jar,appserv-rt.jar,j2ee.jar,jaxrpc-impl.jar,appserv-ext.jar,deployhelp.jar,admin-cli.jar,dom.jar,xercesImpl.jar, xalan.jar, mail.jar"
    The web service wizard should now work.

  • Web service from intranet WSDL

    I have a simple (local) SOAP service (via perl SOAP::Lite) with a valid WSDL (validated with XML Spy). That works fine from a simple client....(provide a server and the service responds with all NFS mounts associated with the server)... the WSDL 'imports" a xsd schema via xsd:import. I can create the web service reference, but when attempting to generate a "Form and Report on Web Service" page I get a "No result Tree to Report on" "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".... why can't it read my tree? where can I find the errors (logs) specific to this? Any help would be greatly appreciated.

    I have the same problem as posted above.
    The Web service has an single numeric input parameter and an output parameter that is an array of objects containing 3 result fields. The web service returns the results correctly in a test harness outside of HTML_DB.
    I have listed the WSDL content below. Can you tell what the problem reading the Report Tree from the WSDL might be ?
    Thanks
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
    -->
    - <!-- Date Created: Wed Jun 21 10:10:07 BST 2006
    -->
    - <definitions name="18_WS" targetNamespace="http://SWISHTST/18_WS.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://SWISHTST/18_WS.wsdl" xmlns:ns1="http://SWISHTST/_WS.xsd">
    - <types>
    - <schema targetNamespace="http://SWISHTST/_WS.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="SWISHTST_CollectCountTable" jdev:packageName="SWISHTST" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
    - <all>
    <element name="array" type="ns1:ArrayOfSWISHTST_CollectCountRecordUser" />
    </all>
    </complexType>
    - <complexType name="SWISHTST_CollectCountRecordUser" jdev:packageName="SWISHTST" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
    - <all>
    <element name="code" type="string" />
    <element name="category" type="string" />
    <element name="total" type="decimal" />
    </all>
    </complexType>
    - <complexType name="ArrayOfSWISHTST_CollectCountRecordUser" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <complexContent>
    - <restriction base="SOAP-ENC:Array">
    <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:SWISHTST_CollectCountRecordUser[]" />
    </restriction>
    </complexContent>
    </complexType>
    </schema>
    </types>
    - <message name="getCollectionCount0Request">
    <part name="pNumlink" type="xsd:decimal" />
    </message>
    - <message name="getCollectionCount0Response">
    <part name="return" type="ns1:SWISHTST_CollectCountTable" />
    </message>
    - <portType name="_WSPortType">
    - <operation name="getCollectionCount">
    <input name="getCollectionCount0Request" message="tns:getCollectionCount0Request" />
    <output name="getCollectionCount0Response" message="tns:getCollectionCount0Response" />
    </operation>
    </portType>
    - <binding name="_WSBinding" type="tns:_WSPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="getCollectionCount">
    <soap:operation soapAction="" style="rpc" />
    - <input name="getCollectionCount0Request">
    <soap:body use="encoded" namespace="18_WS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </input>
    - <output name="getCollectionCount0Response">
    <soap:body use="encoded" namespace="18_WS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </output>
    </operation>
    </binding>
    - <service name="18_WS">
    - <port name="_WSPort" binding="tns:_WSBinding">
    <soap:address location="http://10.1.0.34:7778/RCAHMS_WebServices-NMRSPK18_WS-context-root/_WS" />
    </port>
    </service>
    </definitions>
    Message was edited by:
    gahamr

  • Issue while adding WCF Web Service reference using Oracle APEX

    Hi,
    We have an issue with creating the Web Service Reference for the WCF web service:
    http://dev.virtualearth.net/webservices/v1/metadata/geocodeservice/GeocodeService1.wsdl
    The APEX gives the following error
    “The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.”
    Can you please tell me if creating the Web Service Reference for WCF is supported on the “out of the box“ APEX?
    Environment information:
    APEX 4.0.2.00.07
    Database 11.2.0.3
    Please note that we have tried it in APEX 4.1.1 from apex.oracle.com and the error there is different, it can connect even to ASMX wsdl.
    Thank you.

    I don't think that is it specific to just .NET web services. I have tried with a web service created with TIBCO BusinessWorks (Middleware product) that did not work either. The wsdl validated correctly in soapUI, so I think it just must be the implementation of the parser which is looking for some specific format.
    When in doubt, go with either the manual reference or with pl/sql using one of the api's.

  • Error while creating web service reference

    Hi,
    I have very limited knowledge of web services. we have a BPEL implementation and I have been handed location to 3 wsdl files for which I am trying to create a web service reference(under shared component->logic) in apex(3.1.1). I am successfully able to create for 1 wsdl but for other two i get the below error.
    "1 error has occurred
    The WSDL document contains multiple SOAP bindings. Application Express only supports WSDL's with one SOAP binding. Click Create Web Service Reference Manually to continue creating a reference for this service."
    looking at the working and not working wsdls, i see the following difference. i collapsed all the xml tags in the wsdl file and found that the one that is not working and giving above error has the below two tags twice with data in it.
    <wsdl:portType name=
    <wsdl:binding name=
    any help to parse this wsdl in APEX be greatly appreciated.
    thanks,
    khan

    I have just read that " APEX does not support multiple binding web services currently" at http://oraclebizint.wordpress.com/category/apex/
    ..still reading it. though the post is dated back in 2008, I wonder why this functionality wasn't added to Apex.

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection

    How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
    I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
    Unable to retrieve the data in multiple rows within webservice method.

    Hi Paul,
    I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
    this is my code
    TextField1.rawValue=xmlData.document.rawValue;
    xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
    for(var i=0; i<count; i++)
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
    Table1.Row1.instanceManager.addInstance(true);
    Thanks
    Hussam

Maybe you are looking for