Circular references in web-services

Hi
I'm running WebLogic 6.1sp3 on Solaris and NT. I've been experimenting
a little bit with retrieving data from web-services and have been
experiencing that any circular references I have make the application
spin until it ends in a StackOverflowError.
Does SOAP allow for circular references or is this just a flaw in
WebLogic.
Looking at the structure of the XML reply from a SOAP service (I
have not studied the build-up of XML replies in depth) my immediate
thought would be that the structure does not allow that. You would
require referencing of nested elements instead of embedding. However
searching around a bit I found that something called PocketSOAP
(http://www.pocketsoap.com/) claim to support circular references.
If SOAP does not support this I guess I'll be looking into some
algorithm to untangle circular references.
have a nice day
ThorAAge

The soap implementation in WLS 6.1 does not support
circular references.
WLS 7.0 can handle circular reference (when soap encoding is used).
Check out the section 5 of the soap spec
(http://www.w3.org/TR/SOAP/#_Toc478383512)
if you would like to see more details.
regards,
-manoj
"Thor AAge Eldby" <[email protected]> wrote in message
news:[email protected]..
Hi
I'm running WebLogic 6.1sp3 on Solaris and NT. I've been experimenting
a little bit with retrieving data from web-services and have been
experiencing that any circular references I have make the application
spin until it ends in a StackOverflowError.
Does SOAP allow for circular references or is this just a flaw in
WebLogic.
Looking at the structure of the XML reply from a SOAP service (I
have not studied the build-up of XML replies in depth) my immediate
thought would be that the structure does not allow that. You would
require referencing of nested elements instead of embedding. However
searching around a bit I found that something called PocketSOAP
(http://www.pocketsoap.com/) claim to support circular references.
If SOAP does not support this I guess I'll be looking into some
algorithm to untangle circular references.
have a nice day
ThorAAge

Similar Messages

  • Multiple references to web services in EJBs

    Hi
    Would like to know if its possible to reference EJB web services dynamically from fields in a database. Basically, I would have the EJB installed on multiple servers and need to be able to invoke it after looking up the address of the server in the database. Currently I'm using a NetBeans Web Service Reference in a JSP project to call the EJB.
    Regards
    Lionel

    Here [it is|http://blog.vinodsingh.com/2008/09/building-jax-ws-web-service.html] with source code.

  • Cant add Web Reference for web service

    Hi all.
    I cant seem to add a web reference to an outside web service.
    I have tested some code in Visual Studio and it all works fine, but
    now Im importing the code into my dreamweaver website.
    I have went to "Window" menu and then "Components", and along
    the right hand side the components tab opens. It has a drop down
    list with "Web Services" in it. Underneath it, it says press the
    "+" button to add the service. But there is no plus button! I have
    looked at manuals, and it does show a "+" sign beside the drop down
    box, but its not on my Dreamweaver!
    I am using dreamweaver 8. This is a full product as it is at
    my work.
    Any help would be great.
    Thanks, Paul.

    Hi all.
    Further to my previous post, I have noticed that my
    colleagues install of dreamweaver seems to have this "+" sign in
    the components panel, so I have tried to add the web service to the
    page using his machine.
    But I now come up with a different problem! I click on the
    "Add using WSDL" from the drop down lost at top, but when I click
    on the drop down for the "Proxy Generator" there is nothing in it.
    When I go into the menu to edit the proxy's, I can see the one for
    ASP.net VB which is the one I would be using, but when I click on
    "Done" and go back to the page with the WSDL URL and the proxy,
    nothing is showing in the proxy generator!
    Can anyone shed light on this?

  • SOAP Messaging Using Crystal Reports Web Services To Return Report in PDF or Excel Format

    All,
    I am trying to use SOAP messaging to fetch a Crystal Report through a Managed repository and getting back either a PDF or Excel file. For some reason, any reference to web services on this site I cannot access. Like thread, "Using Web Services on the Crystal Report Server XI to return reports".  Can anyone point in a direction to Web Service Calls API documentation or does this not exist ?????? I would hope this product has this capability.
    Thanks In Advance,
    Tom

    XI Release 2 Service Pack 2 introduced the Business Process BI Web Services, that allow you to retrieve reports using SOAP messaging.
    It's documented here:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf
    Sincerely,
    Ted Ueda

  • Import jax-ws web service created in netbeans 6.5

    Hello,
    I have seen a few posts on this but without a result, so trying again in case there has been some progress. First of all I ran the UsWeather example, imported the webservices etc. and this works. I then tried the same for my web service, jax-ws create via netbeans and this doesn't work. It is a simple calc function that should accept two integer, i and j and return the sum. From what I can make out it is because the parameters are somehow wrapped and are not visible via the creates action scripts
    So when I run this sort of thing:
    private var calc:CalcWSService = new CalcWSService;
    var req:Add_request = new Add_request();
                    req.i = 2;
                    req.j = 3;
                    calc.add_request_var = req;
                    // Invoke the method
                    calc.add_send();
    I get the error message
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at Test/getMyCalc2()[Y:\FlexWorkspaces\TestWorkSpace\Test\src\Test.mxml:64]
        at Test/___Test_Button4_click()[Y:\FlexWorkspaces\TestWorkSpace\Test\src\Test.mxml:92]
    If I reference my web service as follows
    <mx:WebService id="webService" wsdl="http://localhost:8080/CalcWSProject/CalcWSService?wsdl" >     
             <mx:operation name="add" resultFormat="object" result="display(event);">                   
             <mx:request xmlns="" >         
                <i>2</i>  
                <j>4</j>         
              </mx:request>       
              </mx:operation>         
           </mx:WebService>
    and run
                webService.add.send();
    then it works
    The generated CalcWSService.as add function looks like this(i.e.the parameters appear to be hidden
           public function add(add:Add):AsyncToken
                   var _internal_token:AsyncToken = _baseService.add(add);
                _internal_token.addEventListener("result",_add_populate_results);
                _internal_token.addEventListener("fault",throwFault);
                return _internal_token;
    Any way to get around the problem when importing the web services via the wizard?

    Result after navigating to: http://localhost:8084/HelloWS/HelloWS?xsd=1
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hi.me.org/" version="1.0">
      <xs:element xmlns:ns1="http://hi.me.org/" type="ns1:add" name="add"/>
      <xs:complexType name="add">
        <xs:sequence>
          <xs:element type="xs:int" minOccurs="0" name="arg0"/>
          <xs:element type="xs:int" minOccurs="0" name="arg1"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element xmlns:ns2="http://hi.me.org/" type="ns2:addResponse" name="addResponse"/>
      <xs:complexType name="addResponse">
        <xs:sequence>
          <xs:element type="xs:int" minOccurs="0" name="return"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>

  • Loading JDO in a web service endpoint

    I have a web service endpoint (Java class exposed as a web service) I'm developing in NW04-sp9, and I'm having trouble getting access to JDO in my web service.  I have an object class I'd like to persist using JDO, and I've developed them and run the build helper utility to make them persistable.  I believe that this works, because I can look at the .class file in a text editor and see references to javax/jdo/spi/PersistenceCapable.
    In my WSE, I try to get the default PersistenceManagerFactory doing a JNDI lookup with:
    _pmf=(PersistenceManagerFactory)ctx.lookup("java:comp/env/jdo/defaultPMF");
    which fails with a NamingException.  Based on another forum posting, I tried:
    _pmf=(PersistenceManagerFactory)ctx.lookup("deployedAdapters/jdo/defaultPMF/shareable/jdo/defaultPMF");
    Which actually seems to work, but when I do this, I get a NoClassDefFoundError on javax/jdo/PersistenceManagerFactory from the web service endpoint.
    I have added the com.sap.jdo application to my WSE's application-j2ee-engine.xml file, as described in the JDO chapter of the NW04 documentation.
    Any clues what I'm missing?
    Thanks,
    - Bill

    >
    > I will check if it is possible to declare resource
    > references for web services and tell you.
    >
    Thanks very much
    >
    > By the way, I have just found out that one can lookup
    > JCA connection factories in the global JNDI context
    > without having to declare resource references. I
    > don't like this. In my opinion, applications should
    > never access the global JNDI context directly, but
    > only the local java:comp/env context.
    >
    > You can find the JDO PMF at the following location in
    > the global JNDI context:
    >
    > deployedAdapters/jdo/defaultPMF/shareable/jdo/default
    > PMF
    >
    I did this (see my initial post), and I agree that it's a bad idea.  I didn't have much choice, though   When I did this, and I tried to cast the returned object to a PersistenceManagerFactory, I received a NoClassDefFoundError, which led me to believe that the JDO classes were not loaded into the web service container.  This is what led me down the resource reference path.
    >
    > I don't know when this deployedAdapters directory was
    > introduced, but I can imagine why. Most likely, there
    > are runtime environments like Web Dynpro or Web
    > Services where one needs to access JCA adapters, but
    > where resource references are not available.
    >
    Thanks again,
    - Bill

  • Dynamic Logical Port for Web Service Client

    Hi *!
    We want to use the same Web Service Client code with different Web Service instances running on different systems. So I need to configure the logical port (especially the URL of the endpoint) dynamically at runtime.
    Please give me a hint, how this is done.
    (we are using WebAS 6.40 SP7)...
    Thanks in advance,
         Frank

    Hi Frank,
    I hope you were able to solve your issue on you own in the meantime.
    I was looking for the answer to this question today. This was the only thread I found on SDN. Unfortunately, it did not contain an answer yet. I was able to figure out a way to set the endpoint address dynamically after searching help.sap.com and after examining the interfaces offered by the Stub (logical port in this case) classes.
    Here's an extract from my code:
    // Connect to JNDI context
    InitialContext ic = new InitialContext();
    // Get reference to web service proxy from JNDI context
    Z_MSC_GET_SCHEDULE_WSDService service =
         (Z_MSC_GET_SCHEDULE_WSDService) ic.lookup("wsclients/proxies/iot-online.de/msc~srv_ejb~proxy/de.iot_online.msc.proxy.ScheduleReaderProxy");
    // Get reference to logical port from web service proxy
    Z_MSC_GET_SCHEDULE_WSD logicalPort = service.getLogicalPort();
    // Set URL of web service Endpoint
    logicalPort._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://<FQDN>:8010/sap/bc/srt/rfc/sap/Z_MSC_GET_SCHEDULE_WSD?sap-client=100");
    This is explained on
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/113a1221337249e10000000a155369/frameset.htm
    You can also set the credentials (username / password) with the method _setProperty.
    Best regards
    Christian

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "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.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Stateless session EJB as Web service adds root context prefix in embedded

    Hi,
    In JDeveloper 10.1.3.1 production (I'm pretty sure it didn't do it in the developer preview), if I run up a stateless session bean surfaced as a web service, then the root context gets prefixed with EJB- e.g. my application context is "services", so deployed to SOA suite the url is of the form:
    http://localhost:8888/services/webservice?WSDLbut if I run it up in embedded OC4J in JDeveloper, the URL is:
    http://localhost:8888/EJB-services/webservice?WSDL(I'm running embedded on port 8888 too to make deploy easier)
    which is causing a huge headache having to change loads of references to web services when moving between development, and deploy for test.
    I've tried mucking around no-end with J2EE application properties to get rid of the EJB- prefix, to no end, any help much appreciated.
    Cheers.

    Thanks for the reply.
    Afraid the context is just defined as services.
    I've done a bit more investigation, and if I simply run/debug the application, and it gets deployed under the default current-workspace-app, then the context gets the EJB- prefix. If I run up the embedded OC4J and manually deploy the application into it, then a new application (services) is created, and the context is correct (although I've now got the application deployed automatically under current-workspace-app, and manually under services, and so both URI's above now obviously work).
    This is probably a useable work-around, but still doesn't feel quite right.
    Cheers.

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

  • Error occured while Adding a reference Web Service(BizTalkServer2009_Tutorial2)

    Hi,
    I was going through the Biztalk tutorials. While doing the second tutorial of web service I got stuck while adding reference to the Web Service.
    Steps I did:
    Add service reference(by right clicking my project) --> Advanced -->  Add Web Reference -->  URL : http://localhost/b2bsupplierprocesspo/process.asmx
    But somehow this URL is not accesible over there. I got following error:
    Please suggest/guide me on this.
    Thanks, Girish R. Patil.

    The error clearly states the reason for failure, being "CS0016: Could not write to output file ..... ..... - Access is denied."
    The directory in question is the "C:\Windows\Microsoft.Ner\Framework\v2.0.50727\Temporary ASP.NET Files". So two things
    Does the tutorial mention that the Web Service should be hosted under a .Net V2.0 Application Pool? If so then please give "Full Control" permissions to the above directory for the BizTalk Service Accounts (which also should be part of your "BizTalk Isolated
    Host Users" Group.
    If not then the service has to be hosted in a .Net v4.0 app pool. Change the Application Pool Settings through IIS Manager and give permissions to a similar folder (Temporary ASP.Net) but under the Framework\V4.0.... directory.
    Regards.

  • 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

  • How to use a Web Service after creating the reference

    I created a Web Service reference and APEX 3.1 and it recognizes it.
    The WS has a list of customers. The XML file (WS result) has XSD then the customers data.
    The only thing I can do inside APEX is to create a form based on WS with a field that has a dump of the WS result.
    I do not know how to use the XML data in the WS to show the customers data in APEX.
    I appreciate it, if you can point me to any article or documentation taht show to consume WS in APEX
    Thanks
    Mo

    Jason
    My post above does not make sense because the browser converted the "lt" and "gt" that I saw in the form when I copied and paste to < and > as it should do.
    below I will attach the XSD
    &lt;?xml version = &quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
    &lt;VFPDataSet&gt;
         &lt;xsd:schema id=&quot;VFPDataSet&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
         &lt;xsd:element name=&quot;VFPDataSet&quot; msdata:IsDataSet=&quot;true&quot;&gt;
              &lt;xsd:complexType&gt;
                   &lt;xsd:choice maxOccurs=&quot;unbounded&quot;&gt;
                   &lt;xsd:element name=&quot;curCustomers&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
                                  &lt;xsd:complexType&gt;
                                       &lt;xsd:sequence&gt;
                                            &lt;xsd:element name=&quot;customerid&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;5&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;companyname&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;40&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contactname&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contacttitle&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;address&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;60&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;city&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;region&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;postalcode&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;10&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;country&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;phone&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;fax&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                       &lt;/xsd:sequence&gt;
                                  &lt;/xsd:complexType&gt;
                             &lt;/xsd:element&gt;
                        &lt;/xsd:choice&gt;
                        &lt;xsd:anyAttribute namespace=&quot;http://www.w3.org/XML/1998/namespace&quot; processContents=&quot;lax&quot;/&gt;
                   &lt;/xsd:complexType&gt;
              &lt;/xsd:element&gt;
         &lt;/xsd:schema&gt;

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

Maybe you are looking for

  • How do I change the default certificate in Java Web Console?

    I have a 3rd party issued server keystore & truststore ready to go in both jks and p12 file formats. I wish to use this in the Sun Java Web Console instead of the self signed certificate. I cannot find any documentation as to changing the certificate

  • ERROR DOWNLOADING MOUNTAIN LION (100)

    Can't download Mountain Lion?

  • Cisco WLC 5508 HA AP-SSO not possible

    Hi! A custommer of mine tried to configure HA AP-SSO with two 5508 controllers. After rebooting the primary controller changed into Maintanence Mode. Version 7.3.101.0 (Cisco Controller) >show redundancy summary Redundancy Mode = SSO ENABLED Local St

  • Airport Stops working when system wakes from sleep.

    Hi everyone. I have 2 macs in the house a mac mini and a intel based imac. Both have worked fine for sometime however they both are exhibiting the same issue. I think its an OS bug. But when both systems go to sleep and then are woken up at a later t

  • Reporting of free disk space improper for my Mac SSD

    Frequently I find that the reported free disk space shown on the desktop for my Mac SSD is wrong since I upgraded to 10.10.3 This is just a reporting issue since the disk utilities I have checked show the correct amount of free space. To fix it I go