Schema Parser and WSDL

Hi all,
Iam trying to load schema that occurs within the <types> tag of WSDL into the schema parser(XMLSchema).I have a schema as follows
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://TRANSACTIONALWEB.COM" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://TRANSACTIONALWEB.COM">
<complexType name="Entry">
<sequence>
<element name="url" type="string" nillable="true"/>
<element name="fname" type="string" nillable="true"/>
     <element name="addressline1" type="string" nillable="true"/>
     <element name="addressline2" type="string" nillable="true"/>
     <element name="addresscity" type="string" nillable="true"/>
     <element name="addressstate" type="string" nillable="true"/>
     <element name="addresspostalcode" type="string" nillable="true"/>
     <element name="addresscountry" type="string" nillable="true"/>
     <element name="distance" type="string" nillable="true"/>
     <element name="contact" type="string" nillable="true"/>
     <element name="phone" type="string" nillable="true"/>
     <element name="email" type="string" nillable="true"/>
</sequence>
</complexType>
<element name="Entry" type="intf:Entry" nillable="true"/>
<complexType name="ArrayOfEntry">
     <complexContent>
     <restriction base="SOAP-ENC:Array">
     <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="intf:Entry[]"/>
     </restriction>
     </complexContent>
</complexType>
<element name="ArrayOfEntry" type="intf:ArrayOfEntry" nillable="true"/>
</schema>
oracle.xml.parser.v2.XMLParseException: Namespace prefix 'wsdl' used but not declared.
     at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:148)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:264)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
     at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:96)
     at SchemaParser.<init>(SchemaParser.java:106)
     at SchemaParser.main(SchemaParser.java:172)
The namespace with wsdl prefix is declared as the top level element in WSDL ie
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:impl="http://POST-impl" xmlns:intf="http://TRANSACTIONALWEB" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://TRANSACTIONALWEB">
Is there any way by which i can make the schema parser skip this validation???
thanks in advance
sai

What do you mean by skip? But in order for your XML schema to be valid, you need to specify the namespace for "wsdl":
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

Similar Messages

  • Newbie Schema Parser question

    I am trying to use the Schema Parser and have noticed that whenever the printSchema method is called it prints out a lot of information like the type of derivation the content type etc. But none of this is available through the APIs. I would like to access such information through the APIs provided for the different types (XSDSimpleType or XSDComplexType). I would like to know how to do this.
    Cheers,
    Chetan

    Yes. Each schema has its own namespace.

  • Memory Leakage while parsing and schema validation

    It seems there is some kind of memory leakage. I was using xdk 9.2.0.2.0. Later i found that from this forum which contain a Topic on this and they (oracle ) claim they have memory leakage. And they have fixes this bugs in 9.2.0.6.0 xdk. When i used truss command, for each call to parser and schame validation, it was opening file descriptor for lpxus and lsxus file. And this connections were not close. And keep on openning it with each call to parser. I was able to diagonise this using truss command on on solaris. After making many calls, i was error message could not open file Result.xsd (0202). I am using one instance of Parser and Schema. And i am doing clean up for parser after each parse.
    Later i downloaded, 9.2.0.6.0,
    Above problem for the parser was solvedm but still the problem continued for schema validation. And even i tried with latest beta release 10.
    And this has caused great troubles to us. Please can u look whether there is come sort of leakage. Please advice if u have any solution.
    Code---
    This below code is called multiple times
    char* APIParser::execute(const char* xmlInput) {
              char* parseResult = parseDocument(xmlInput);
              //if(strcmp(parseResult,(const char*)"")==0) {
    if(parseResult == NULL) {
                   parseResult = getResult();
    parser.xmlclean();
         return parseResult;
              } else {
                   return parseResult;
    Parser and schema are intialised in Construtor and terminated in Destructor.

    Hi, here is the complete test case
    #include<iostream>
    #ifndef ORAXML_CPP_ORACLE
    # include <oraxml.hpp>
    #endif
    using namespace std;
    #define FAIL { cout << "Failed!\n"; return ; }
    void mytest(int count)
         uword ecode;
         XMLParser parser;
         Document *doc;
         Element root, elem;
         if (ecode = parser.xmlinit())
              cout << "Failed to initialze XML parser, error " << ecode << "\n";
              return ;
         cout << "\nCreating new document...\n";
         if (!(doc = parser.createDocument((oratext *) 0, (oratext *) 0,(DocumentType *) 0)))
         FAIL
         if (!(elem = doc->createElement((oratext *) "ROOT")))
                   FAIL
         string test="Elem";
         for(int i=0;i<count;i++)
              //test="Elem"+string(ltoa(i));
              if (!(elem = doc->createElement((oratext *) "element")))
                   FAIL
              if (!doc->appendChild(elem))
                   FAIL
         //doc ->print();
         //parser.xmlclean();
         parser.xmlterm();
    int main(int argc,char* argv[])
         int count=atol(argv[1]);
         mytest(count);
         char c;
         cout<<"check memory usage n press any key"<<endl;
         cin>>c;
         return 0;
    -------------------------------------------cut here-----
    Now, i cant use the xdk 10g because i work on a hpux machine. I have tried the above program with a count of 1000000. the memory usage at the end was around 2 gigabytes.
    Could someone please please help me? :(
    Thank you.

  • JAXP parser and schema

    I have a schema which use <xs:include> to include different schema.
    When creating XML DOM parser I handled the schema and it's location
    on the disk.
    When running the XML parser, I handled it XML file which located in the
    same directory in the disk where the 2 schemas located, and it works
    well.
    The problem is when I move the XML file to different directory on the
    disk the parser shouts that it can not find the schema.
    I tried to use URI in the include, but it didn't work as well.
    I will appreciate your help
    Thanks.

    Specify relative path of schema, schemaLocation="/schema.xsd"
    or absolute path of schema, schemaLocation="c:/schema.xsd"

  • Include xml schema in the WSDL of the web service

    Hi,
    I have a bpel process where I want to call several web service, so therefore the web services should reference the same xsd schema. I use JDeveloper and Oracle PM 10.1.3.3.0.
    I have a problem with including the schema in the wsdl of the web service, and I receive an error at deploying the web service.
    For including the schema I tried, things like:
    <types>
    <xsd:include schemaLocation="\C:/genschema.xsd"/>
    </types>
    Error compiling :C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\applications\BuecherApp-LagerService-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.WsdlValidationException: model error: element "{http://lagerservice/types/}pruefeBuecherAufLagerElement" not found.
    or
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/types/"
    schemaLocation="genschema.xsd" />
         </schema>
    </types>
    Error instantiating compiler: Web service artifact generation failed:java.lang.InstantiationException: IO Error parsing imports in C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\application-deployments\BuecherApp-LagerService-WS\WebServices\server-wsdl\LagerService.wsdl : Unable to find/read file WEB-INF/wsdl/genschema.xsd
    the file is in the required directory WEB-INF/wsdl, and also the current directory.
    Can anyone help please?
    Ela

    ... and here is the solution:
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/" schemaLocation="file:///c:/genschema.xsd" />
         </schema>
    </types>

  • How parse the wsdl types?

    Hi, I have created a wsdl parser with the wsdl4j that return the interface of my web service. If, for example, this is a part of my wsdl file:
    <definitions name="TemperatureService"
    targetNamespace="http://www.xmethods.net/sd/TemperatureService.wsdl">
    <message name="getTempRequest">
    <part name="zipcode" type="xsd:string"/>
    </message>
    <message name="getTempResponse">
    <part name="return" type="xsd:float"/>
    </message>
    <portType name="TemperaturePortType">
    <operation name="getTemp">
    <input message="tns:getTempRequest"/>
    <output message="tns:getTempResponse"/>
    </operation>
    </portType>
    my parser return this:
    public Interface TemperatureService {
    public float getTemp(String zipcode);
    Now if I have a wsdl file more detailed in which there are an input or output message that have a complex type element, how I can return the structure of this complex type element? For example, if I have this message and this complexType:
    <types>
    <xsd:schema targetNamespace="http://www.capeclear.com/GlobalWeather.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <xsd:complexType name="Direction">
    <xsd:complexType name="Station">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="elevation" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="latitude" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="longitude" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="region" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="country" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="string" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getStationResponse">
    <part name="return" type="xsd:Station"/>
    </message>
    how can I return this:
    class Station{
    String icao;
    String wmo;
    String iata;
    double elevation;
    The structure of the class is not important, I would obtain the internal variables (icao, wmo, iata, ...).
    Anyone can help me? Thanks!!!!
    Andrea

    Hi,
    i also have a similar problem.
    I am looking to parser which give me all parameters (and types) to given method. Best way in java vector.
    My parser give me this all information if I have simple wsdl file, but when using dificult wsdl file with this elements
    <xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
    I getting only unparsed xml file part..
    Anybody know how resolve this problem?

  • Using XDKs XML Schema Parser

    I want to parse an XML schema(XSD file) and extract the types from it, ComplexType etc. Does anyone know to even begin this. Ive managed to parse and any XML file sucessfully returning all element types,names and values using the DOM parser but cant seem to find suitable methods in the oracle.xml.parser.schema library. I have started along these lines
    XSDBuilder bob =new XSDBuilder();
    XMLSchema sch = (XMLSchema)bob.build(url);
    where URL is string referencing the xsd file. But after that all I can get is the targetnamespace using
    String display = sch.getSchemaTargetNS();
    Any help greatly appreciated.

    Srinivas,
    Thanks for the reply. But that is not my requirement.Suppose I have a schema representing the following xml
    <Student>
    <Name>ABC</Name>
    <Class>XYZ</Class>
    <Course>PQR</Course>
    </Student>
    When I parse the XML Schema representing the above XML, it should give me a Java object that represents this XML structure. (Similar to Document object that is obtained when we an XML is parsed)
    Hope this is more clear.

  • NullPointerException in XML Schema Parser

    I have run the XML Schema parser across the sample xml files without problems, but when
    I try to run it against my own xml/xsd combo
    I get a null pointer exception. :-(
    Unfortunately the xml file and schema are
    not something that I can share openly.
    I can use gdb to get a traceback, but without the source I cannot get much more info:
    % jdb
    Initializing jdb...
    run XSDSetSchema SASOMI.xsd GetAllTables.xmlrun XSDSetSchema SASOMI.xsd GetAllTables.xml
    >
    VM Started:
    Exception occurred: java.lang.NullPointerException (uncaught) thread="main", oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent(), line=1074, bci=383
    main[1] where
    [1] oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent (XSDBuilder.java:1074)
    [2] oracle.xml.parser.schema.XSDBuilder.parseComplexType (XSDBuilder.java:905)
    [3] oracle.xml.parser.schema.XSDBuilder.parseTopLevelElem (XSDBuilder.java:466)
    [4] oracle.xml.parser.schema.XSDBuilder.buildSchema (XSDBuilder.java:367)
    [5] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:223)
    [6] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:206)
    [7] XSDSetSchema.main (XSDSetSchema.java:24)
    main[1] ?
    Any ideas as to how to proceed?

    A quick update on this.
    In case anybody is inclined to look into
    this problem, I have a testcase you can
    try:
    http://www.realtime.net/~mburns/xml/critters/Hawk1.xml
    and corresponding schema: http://www.realtime.net/~mburns/xml/critters/Critters.xsd
    null

  • Cannot parse the wsdl

    I was trying to create a proxy object in power builder 11.5 for the OSB web services and was getting an error as "cannot parse the wsdl".
    Did any one successfully tried OSB webservices integeration in PB 11.5?
    Please let me know how to integrate OSB webservices in PB 11.5
    Thanks
    Ut
    Edited by: user5188075 on Oct 26, 2011 12:15 PM

    try IP instead of computer name
    the solution given below may help you
    http://blogs.eteration.com/blog/?p=365

  • XSD Namespace and WSDL Namespaces

    Hi,
    I have a wsdl in which I'm defining a xsd schema in the <wsdl:types> element. Can we have same targetnamespace for both (wsdl) and (xsd that is defined in wsdl <types> element) ?? Please clarify.
    Thanks
    Edited by: bpeltechie on Jul 5, 2012 2:17 PM

    Yes, you can have the same target name space for both wsdl and schema file. Tried with a helloworld.wsdl and helloworld.xsd its valid scenario.
    HelloWorldBPELProcess.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="HelloWorldBPELProcess"
    targetNamespace="*http://xmlns.oracle.com/PIMtoRPASAmendment_jws/Helloworld/HelloWorldBPELProcess*"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/PIMtoRPASAmendment_jws/Helloworld/HelloWorldBPELProcess"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="*http://xmlns.oracle.com/PIMtoRPASAmendment_jws/Helloworld/HelloWorldBPELProcess*" schemaLocation="xsd/HelloWorldBPELProcess.xsd" />
    </schema>
    </wsdl:types>
    HelloWorldBPELProcess.xsd file.
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="*http://xmlns.oracle.com/PIMtoRPASAmendment_jws/Helloworld/HelloWorldBPELProcess*"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="process">
              <complexType>
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
    </schema>
    Thanks,
    Vijay
    Edited by: veejai24 on 05-Jul-2012 04:03

  • Is There An XML Schema Parser From Oracle ?

    Is XML parser available from oracle different from Xml Schema parser ? Is schema parser available at all ? Where can I download it ? I tried a brief search and could not find ?
    Help appreciated.
    Thanx
    Soorya

    Thank you. I got it. I am trying to validate against an existing schema. But it always enters the "XMLParseException" handler.
    Could you direct me to the documents which gives some examples ? or a 3 lines to validate would be helpful.
    Thanx again.
    Soorya
    null

  • OSB and WSDL response message

    Hi all,
    from the WSDL, that I put at bottom of this post, I've created a new OSB project importing the WSDL itself and creating a proxy service based on it.
    I've implemented it using the fn-bea:execute-sql function:
    <ctx:route><ctx:service>{   
    fn-bea:execute-sql (
    $myDataSource,
    'resultset',
    'SELECT id, name, type_id, domi_country_id, open_date, close_date FROM myTable WHERE id=?',
    xs:string($body/urn:clientDataLookup/portfolioNumber/text())
    }</ctx:service></ctx:route>
    For getting the response, in the pipeline reponse I added a REPLACE action:
    Replace [ node contents ] of [ . ]
    in [ body ] with
    [ <urn:clientDataLookupResponse>
    <xmlCntent>{ $result/con:service/resultset }</xmlCntent>
    </urn:clientDataLookupResponse>
    I deduced the above xml response message using the OSB xquery wizard navigating through variable structure section and selecting $body - clientDataLookup (response) variable:
    $body/urn:clientDataLookupResponse/xmlCntent
    from that xpath expression I deduced the above xml response message.
    My question: is that approach correct ? Why should I rewrite the xml response message ?
    I'm wondering how to allow OSB to generate the correct xml response message in automatic way and then use it as template and fill only the xmlCntent param.
    Thanks in advance
    ferp
    <definitions name="ClientDataLookup"
    targetNamespace="http://wsdl/ClientDataLookup.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://wsdl/ClientDataLookup.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <message name="ClientDataRequest">
    <part name="buId" type="xsd:string"/>
    <part name="portfolioNumber" type="xsd:string"/>
    </message>
    <message name="ClientDataResponse">
    <part name="xmlCntent" type="xsd:string"/>
    </message>
    <portType name="ClientData_PortType">
    <operation name="clientDataLookup">
    <input message="tns:ClientDataRequest"/>
    <output message="tns:ClientDataResponse"/>
    </operation>
    </portType>
    <binding name="ClientData_Binding" type="tns:ClientData_PortType">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="clientDataLookup">
    <soap:operation soapAction="clientDataLookup"/>
    <input>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:bsource:dataservice"
    use="encoded"/>
    </input>
    <output>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:bsource:clientdataservice"
    use="encoded"/>
    </output>
    </operation>
    </binding>
    <service name="ClientDataService">
    <documentation>WSDL File for Client Data Lookup</documentation>
    <port binding="tns:ClientData_Binding" name="ClientData_Port">
    <soap:address
    location="http://localhost:8080/soap/servlet/rpcrouter"/>
    </port>
    </service>
    </definitions>

    In most common use cases a service bus transforms the messages from one format to other. In your case you are actually doing the same. You are transforming the message from database structure to the structure which is defined by the WSDL. The snippet you are using is not XML, its an XQuery snippet. There is nothing unusual about it. The tree structure in the left side is given for that purpose only, to facilitate writing XPaths and XQuery snippets. If you do not want to type anything and want to get it graphically (or example when its a big XML), use Eclipse IDE of OSB and create a XQuery transformation which you can call from OSB message flow.
    Edited by: AbhishekJ on Nov 11, 2011 12:57 AM

  • Issue with weblogic.jar parsing the wsdl

    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

    Hi Nag,
    With little reference to Sir Walter Scott, it would be a very tangled
    web we weave in an attempt to factor out the inter-relationships of
    javax interfaces that are hindering your effort. All to say, we don't
    currently support JSR 110 (javax.wsdl.*) and it is not on the near term
    horizon.
    Have you considered using autotype [1]?
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
    Nag wrote:
    >
    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

  • OmniPortet and WSDL

    I'm trying to create an OmniPortlet that accesses a web service. When I enter the WSDL URL into the setup, the OmniPortlet says there are no methods defined. What is it about the WSDL definition below that OmniPortlet doesn't like?
    Thanks.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="urn:vignette" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:vignette" xmlns:intf="urn:vignette" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <schema targetNamespace="urn:vignette" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="OutTable">
    - <sequence>
    <element name="NAME" type="xsd:string" />
    <element name="SSN" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ORG" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="TELEPHONE" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="EMAIL" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="TITLE" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ServiceName" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ServiceDescr" nillable="true" minOccurs="0" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="getTeam">
    - <sequence>
    <element name="userID" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="getTeamResponse">
    - <sequence>
    <element name="myTeam" type="impl:OutTableArray" />
    </sequence>
    </complexType>
    - <complexType name="OutTableArray">
    - <complexContent>
    - <restriction base="soapenc:Array">
    <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:OutTable[]" />
    </restriction>
    </complexContent>
    </complexType>
    </schema>
    </wsdl:types>
    - <wsdl:message name="getTeamRequest">
    <wsdl:part name="inputs" type="intf:getTeam" />
    </wsdl:message>
    - <wsdl:message name="getTeamResponse">
    <wsdl:part name="outputs" type="intf:getTeamResponse" />
    </wsdl:message>
    - <wsdl:portType name="MySupportTeam">
    - <wsdl:operation name="getTeam" parameterOrder="inputs">
    <wsdl:input message="intf:getTeamRequest" name="getTeamRequest" />
    <wsdl:output message="intf:getTeamResponse" name="getTeamResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="MySupportTeamSoapBinding" type="intf:MySupportTeam">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="getTeam">
    <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="getTeamRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:vignette" use="encoded" />
    </wsdl:input>
    - <wsdl:output name="getTeamResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:vignette" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="MySupportTeam">
    - <wsdl:port binding="intf:MySupportTeamSoapBinding" name="MySupportTeam">
    <wsdlsoap:address location="http://tech1.sandia.gov:9020/MySupportTeam/services/MySupportTeam" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Sorry, the WSDL is behind our firewall. I've included the majority of the WSDL in the original post (couldn't get it all in due to message size limitation). If there is some specific section you'd like to see that I didn't include, let me know and I can include it.
    thanks.

  • Schema name and object name quoted together in MRU after v3 to v4 upgrade

    After upgrading from v3 to v4 an app has a system generated Multi Row Update function that is broken;
    PL/SQL : ORA-00972: identified is too long
    declare
      function x return varchar2
      is
      begin
        begin 
          for c1 in ( select "MY_SCHEMA.MY_SEQUENCE".nextval pk from dual ) loop
           return c1.pk;
          end loop;
        end;
        return null;
      end;
    begin
      dbms_output.put_line(x);
    end;Note the Schema Name and the Object Name have been quoted together!
    Is this a known issue and do you know of a fix?
    Many thanks in advance
    Craig

    Hi Craig,
    this problem is not known so far.
    I had a look at the code and that change has been made because of multi byte support for sequence names and because of security reasons.
    We try to avoid breaking changes in applications, but it looks like we haven't expected that developers are specifying sequence names prefixed by the schema name.
    Maybe the following workaround is feasible for you:
    1) Find all tabular form columns which are using a sequence with a schema prefix as primary key source
    select *
      from apex_application_page_rpt_cols
    where primary_key_column_source_type = 'S'
       and instr(primary_key_column_source, '.') > 0;2) Go to that tabular form column and remove the schema prefix
    3) If the sequence is really in a different schema than the parsing schema of your application, create a synonym for it.
    Hope that solves your problem.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • Error message when burning dvd

    I have a flat panel 17" iMac with a superdrive. I have recently tried to back-up data onto a dvd. When I hit the burn button I soon get an error message. When I eject the dvd and put it back in to play nothing happens and the dvd is ejected only when

  • IPOD TOUCH 4TH GENERATION CAN'T UPDATE!!!!!!!!

    I have been trying for a while to update my iPod Touch 4th Generation to iOS 6. My iPod is in good condition hasn't been jail broken& hasn't had any recent history of it not working. I have iTunes 10.7, which i belive is the latest version. It comes

  • Info regarding a system function

    Hi all, Can any one explain me what the system function 'C_RSTS_WRITE' does if it is called like this in the program  call 'C_RSTS_WRITE'      ID 'HANDLE' field field1      ID 'BUFF' field field2      ID 'RC' field field3      ID 'ERRMSG' field field

  • My MacBook Pro connects to my wifi but when I open safari, it doesn't log into any browser. What should I do?

    I need help with the question posted above

  • Type cast function use

    Good morning, I am using the "type cast" function and the "visa write" subvi to control a DO channel of Arduino (RS232 communication), please see image attached. Can somebody advise how should I program in LabVIEW in order to control more DO channels