Issue with generation of document/literal type WSDL using Axis

Hi All,
I am trying to convert some Java code into WSDL using Axis 1.2 framework. I used Document/Literal style for binding.
One of the methods in my Java code returns an array. This array is described in Axis generated WSDL as follows:
<complexType name="ArrayOfThings">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Things[]"/>
</restriction>
</complexContent>
</complexType>
But the end user(client for the web service I am hosting) says " .NET won't allow him to consume my webservice (or generate the proper reference classes) for types that derive from encoded types".
So my question is "Would it be possible to change the webservice so that it doesn’t use that(soapenc) implementation of the array?"
The end user is expecting something more like this:
<s:complexType name="ArrayOfThings">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Things" nillable="true" type="tns:Things" />
</s:sequence>
</s:complexType>
I am new to Web Services. So any help or guidance would be greatly appreciated.
Thanks,
Scott.

Hi Dragana,
We definitely support the ability to call a web service that exposes two operations (document/literal or not).
Glancing through your WSDL, it looks good.
Could you please try to tunnel the second request and see 1) what data is sent to the service and 2) what data is returned by the service?
Can you please email us a reproduceable case so that we can help troubleshoot in parallel?
Thank you,
Edwin
[email protected]
please rename .zip to .zap

Similar Messages

  • Issue with Oracle LONG RAW data type

    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /

    Maddy wrote:
    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /below might work
    12:06:23 SQL> help copy
    COPY
    Copies data from a query to a table in the same or another
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                {APPEND|CREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[/password]@connect_identifier

  • I have an issue with some PDF documents   some MS Office documents, notably MS Word when received in eMail as attachments not displaying on iPhones, iPad 2s

    Hi,
    I have an issue with some PDF documents & some MS Office documents, notably MS Word when received in eMail as attachments not displaying properly on iPhones, iPad 2s & new iPads?
    PDF docs - areas of the doc only show as grey splotches regardles of viewer
    MS Word Docs -
    inserted graphics don't display at all,
    tables & lists especially with borders are broken &
    tables & lists missing the borders &
    tables & lists missing the 1st 1-2 lines of the lists/tables.
    This is replicated on iPhone 4s, iPhone 4Ss, iPad 2s, iPad new (x2)
    It certainly happens in iOS 5.1.1 & iOS 5.1
    We believe it all worked aok in iOS 5.0.1(?) & prior
    There is no problems reading/seeing these PDF & Word docs on anything other than iDevices.
    This is rather critical for us & if not quickly fixed/rectified will prevent us from further purchases of these devices
    Rolling back to iOS 5.0.1 or prior I believe isn't possible because of the BaseBand update(?) & isn't much of an option because of the quite noticeable Battery/Charging/WiFi improvements in 5.1 & 5.1.1

    Hi,
    I logged a call with AppleCare & have since had explained why this occurs (some time ago)
    I'll try to explain what was indicated to me.
    iOS has a limited Font Set & this affects what PDFs can display. You need to use iOS supported fonts in your PDFs to see/read them properly  
    These supported fonts are indicated here => http://support.apple.com/kb/HT4980
    Regards MS office docs, iOS doesn't have much of an API to work with MS Office documents at all so is stuck with 3rd Party Apps to try to do it.
    Unfortunately Mail in/on iOS uses the API to attempt to open/use MS Office attachments unless you tell it to use an App to open the attachment.
    I have had success opening & reading MS office docs now with CloudOn, but find it slow & very awkward to use.
    Not too sure if this helps others, but at least it explains why this is occurring

  • Is anyone else having an issue with the iPad not charging if you use it while it's plugged into a power source?  Now that I'm on iOS 7, I either charge or use... Not both.

    Is anyone else having an issue with the iPad not charging if you use it while it's plugged into a power source?  Now that I'm on iOS 7, I either charge or use... Not both.

    No problems here.
    Edit...
    My IOS-7 is on an iPod Touch.

  • 163;  There seems to be an issue with the template that the site is using as there is a code to replace the pricing.

    163;
    There seems to be an issue with the template that the site is using as there is a code to replace the pricing.
    <script>
    // Script to extract the currency and decimals from the price
    var price = "{tag_saleprice}";
    var priceWithoutCurrency = price.replace( /^\D+/g, '')
    var decimals = priceWithoutCurrency.substring(priceWithoutCurrency.length - 2, priceWithoutCurrency.length);
    var roundedPrice = priceWithoutCurrency.substring(0, priceWithoutCurrency.length - 3);
    $('.image-with-price.big span').html(roundedPrice+'<sup>'+decimals+'</sup>');

    Here are the screenshots for what it's worth.
    Not sure why I can't post them in the original post.<br>
    <sub><b>Mod edit: See [https://bugzilla.mozilla.org/show_bug.cgi?id=718813 bug 718813]</b></sub>
    '''Again, when I set my DNS server to automatically detect the servers both problems disappear and I have no issues at all.'''
    IMO opendns is either doing this on purpose (unlikely) or they're under some sort of attack/being used to attack the specific torrent sites although I'm open to other explanations. I believe using the automatic setting for DNS is using my own ISP's DNS servers (which again, work fine... but still...)
    I'd rather not use Google's public DNS servers as Google is to commercial these days and I think there's potential privacy issues.
    '''Again I have changed the setting for DNS servers back and forth several times to duplicate/verify the issue(s)... and the issues only happen with the opendns servers.'''

  • Document/literal style wsdl with more than one port

    Recently I have changed wsdl style from rpc/encoded to document/literal as BPEL does not handle soapenc:arrayType. The wsdl contains 2 operations and few complex type definitions.
    In BPEL Designer I have created a process that invokes all operations defined in the wsdl, but only one of them will have some data in the response message and the other one will have an empty message. On the other hand, when I use stub generation to invoke Web Service everything is working fine.
    If I provide separate wsdl for each operation (in BPEL process I would have two partnerLinks instead of one) than it works fine.
    Does this mean that BPEL does not handle document/literal style endpoints with more than one port (operation)?
    I have tested this with the orabpel_2.0_J1_win32.exe and orabpel_2.0rc9_win32.exe. Web Services, used for this test, are deployed in Jboss 3.2.3 and axis-1_2beta3.
    WSDL used as partnerLink:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions targetNamespace="http://test" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://test" xmlns:intf="http://test" 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 elementFormDefault="qualified" targetNamespace="http://test" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="CardId">
    <sequence>
    <element name="cardType" nillable="true" type="xsd:string" />
    <element name="number" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    <complexType name="CardIdArray">
    <sequence>
    <element maxOccurs="unbounded" name="item" nillable="true" type="impl:CardId" />
    </sequence>
    </complexType>
    <element name="getCardsReturn" type="impl:CardIdArray" />
    <complexType name="CardholderCards">
    <sequence>
    <element maxOccurs="unbounded" name="cards" nillable="true" type="impl:CardId" />
    <element name="serialNumber" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    <element name="retrieveChReturn" type="impl:CardholderCards" />
    </schema>
    </wsdl:types>
    <wsdl:message name="retrieveChRequest" />
    <wsdl:message name="getCardsRequest" />
    <wsdl:message name="retrieveChResponse">
    <wsdl:part element="impl:retrieveChReturn" name="retrieveChReturn" />
    </wsdl:message>
    <wsdl:message name="getCardsResponse">
    <wsdl:part element="impl:getCardsReturn" name="getCardsReturn" />
    </wsdl:message>
    <wsdl:portType name="TestService">
    <wsdl:operation name="getCards">
    <wsdl:input message="impl:getCardsRequest" name="getCardsRequest" />
    <wsdl:output message="impl:getCardsResponse" name="getCardsResponse" />
    </wsdl:operation>
    <wsdl:operation name="retrieveCh">
    <wsdl:input message="impl:retrieveChRequest" name="retrieveChRequest" />
    <wsdl:output message="impl:retrieveChResponse" name="retrieveChResponse" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TestServiceSoapBinding" type="impl:TestService">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCards">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="getCardsRequest">
    <wsdlsoap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="getCardsResponse">
    <wsdlsoap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="retrieveCh">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="retrieveChRequest">
    <wsdlsoap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="retrieveChResponse">
    <wsdlsoap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TestServiceService">
    <wsdl:port binding="impl:TestServiceSoapBinding" name="TestService">
    <wsdlsoap:address location="http://localhost:8080/axis/services/TestService" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Hi Dragana,
    We definitely support the ability to call a web service that exposes two operations (document/literal or not).
    Glancing through your WSDL, it looks good.
    Could you please try to tunnel the second request and see 1) what data is sent to the service and 2) what data is returned by the service?
    Can you please email us a reproduceable case so that we can help troubleshoot in parallel?
    Thank you,
    Edwin
    [email protected]
    please rename .zip to .zap

  • Issue with Opportunity schema contained in Opportunity.wsdl and Integration

    There is Opportunity XML schema object defined for Siebel web-service with URI “urn:/crmondemand/xml/opportunity” in opportunity.wsdl and opportunity.xsd contained in integrationevent.zip. Please find attached the schema files.
    If you check the diff, the opportunity schema is different, which is actually a conflict from Siebel side since it is the same object identified by URI “urn:/crmondemand/xml/opportunity”. Can we get some information about the discrepancy from Siebel OD team?
    Following compiler error comes for the BPEL process, where both Opportunity wsdl and integration event being used:
    Error:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Global Type declaration/definition of name '{urn:/crmondemand/xml/opportunity}Opportunity' are duplicated at the following locations:
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.wsdl [line#: 89]
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.xsd [line#: 12]
    There are at least two of them looking different:
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.wsdl [difference starting at line#:635]
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.xsd [difference starting at line#:558]
    Global Type declaration/definition of name '{urn:/crmondemand/xml/opportunity}Team' are duplicated at the following locations:
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.wsdl [line#: 2602]
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.xsd [line#: 2524]
    There are at least two of them looking different:
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.wsdl [difference starting at line#:2602]
    file:/C:/Bhavnesh/Work/SiebelPoll/SourceCode/SiebelPoll/JDSU_SiebelToODSOpportunityTransfer/bpel/opportunity.xsd [difference starting at line#:2524]
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    Following is the difference between two schema:
    New line in opportunity.wsdl
    <xsd:element name="ListOfOpportunityContactRole" maxOccurs="1" minOccurs="0" type="xsdLocal1:ListOfOpportunityContactRole"></xsd:element>
    Difference between the sequence of elements in both schema:
    <xsd:complexType name="Team"><xsd:sequence><xsd:element name="OpportunityAccessId" maxOccurs="1" minOccurs="0" type="xsdLocal1:string30"></xsd:element>
    <xsd:element name="OpportunityTeamId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    Thanks and regards,
    Bhavnesh Patel.
    Edited by: bhavnesh_p on Oct 9, 2008 1:24 PM

    Hello Bhavnesh,
    we just got into the same issue with the differing Opportunity-XSD/WSDL you have mentioned in your posting.
    Following is the difference between two schema:
    New line in opportunity.wsdl
    <xsd:element name="ListOfOpportunityContactRole" maxOccurs="1" minOccurs="0" type="xsdLocal1:ListOfOpportunityContactRole"></xsd:element>
    Difference between the sequence of elements in both schema:
    <xsd:complexType name="Team"><xsd:sequence><xsd:element name="OpportunityAccessId" maxOccurs="1" minOccurs="0" type="xsdLocal1:string30"></xsd:element>
    <xsd:element name="OpportunityTeamId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>Did you get any update on this problem?
    Thanks in adavance & Best regards..
    Andre

  • Issue with saving sales document.

    Hi,
         I have an issue with saving the sales document.
    When I save any sales document ( Order, Quotation, Contract, Delivery) its successful and showing document no in the information bar.
    But when I try to view or change the document, it shows no document exist in the database. Its not even in the archive.
    Any solution for this issue.
    Cheers
    Senthil

    Dear Senthil,
           This is related to technical issue (Database Updating) so you please take help from BASIS or ABAP people they will help you to fix this issue.
    I hope it will help you
    Regards,
    Murali.

  • Issue with complete refresh on materialized view when using rownum

    Hi all,
    I had an issue with rownum when using complete refresh
    I am using rownum when creating materialized view and it is generation correctly.But the issue was when i am refreshing the same ,rownum was not getting sorted in ascending order.
    anyone had come across this scenario

    rownum is determined as the row is output, so "order by rownum" does literally nothing.
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/pseudocolumns009.htm

  • Issue in How-To document "Load flat file using SAPGUI"?

    Hi,
    I'm having an issue with following lines in the How-To document.
    I've a characteristic "CHAR1" which is restricted with multuple values in the planning level.
    after the upload using this document, CHAR1 is being loaded incorrect & during my debugging I've noticed that program is changing CHAR1 values while executing following lines of code.
    It works fine, if i don't have a restriction for CHAR1 at planning level.
    It also works fine, if i restricted CHAR1 with a single value in level.
    It's not working as expected, if i restrict CHAR1 with multiple single values.
    incase of multiple single values restriction, following is happening.
    let's say i load following file & i restricted CHAR1 with values "aaaaa,fffff" in level.
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    fffff eeeee 2000
    it's being loaded as follows. Program is changing all values of CHAR1 with 1st value of the restricted multiple values and in this case, it is "aaaaa".
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    aaaaa eeeee 2000
    Has any one encountered the same problem?
    Marc,
    Could you please comment on this.
    >>> INSERT
    Set fixed fields
    LOOP AT ito_chasel INTO ls_chasel.
    READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
    IF sy-subrc = 0 AND ls_charng-option = 'EQ'.
    ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_data-s_chas TO <f>.
    IF sy-subrc = 0.
    <f> = ls_charng-low.
    ENDIF.
    ENDIF.
    ENDLOOP.
    <<< INSERT
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

    Marc,
    I still need to keep the lines of coding as I've few characteristics restrictied to single values & one characteristic restricted to multiple single values.
    when the coding is commented out, single value restricted characteristics are not getting populated with any value.
    I'm counting the table entries "ls_chasel-t_charng" and if entries are 1, then am activating the code. this seems to be working fine. Do you see any problems/issues with this?
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • Issue with cyrillic characters in path while exporting using script

    Hi everyone!
    It seems that there is some issue in CS5 with exporting document using vbscript (not sure about other scripting languages) and path containing cyrillic symbols. Error popped up every time I try to execute the line docRef.Export path & fname, 2, exportOptions if path containing non-latin characters (probably it only affects one with cyriilic characters though). Command docRef.SaveAs path & fname, jpgSaveOptions, True, 2 works just fine with any kind of path supplied. In CS4, CS3 and CS2 versions this problem doesn't occur.
    Is this a known bug and what I should do with it if it's not? I really want help to improve Photoshop;)

    Hi,
    Did you or anyone manage to find a reasonable solution for this issue?
    I'm currently facing something similar but with Polish characters instead.
    I tried using RSTXPDF2 to upload .PFB and .TTF files but to no avail.

  • Issue with rightclicking in a text area which uses Squiggly

    Hi,
    I have found an issue with using squiggly in a TextArea component.
    I was able to simulate the same in the demo url . http://labs.adobe.com/technologies/squiggly/demo/#
    The issue is when I enter a random text like "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" and then when I do a right click on the text area,
    I get an exception as shown below.
    TypeError: Error #1010: A term is undefined and has no  properties.
    at  com.adobe.linguistics.spelling.core::SuggestionManager/nsuggest()[C:\squiggly\esg\squiggl y\main\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SuggestionManager.as:20 1]
    at  com.adobe.linguistics.spelling.core::SquigglyEngine/suggest()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SquigglyEngine.as:285]
    at  com.adobe.linguistics.spelling::SpellChecker/getSuggestions()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\SpellChecker.as:145]
    at  com.adobe.linguistics.spelling.ui::HaloWordProcessor/getSuggestionsAtPoint()[C:\squiggly\ esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\HaloWordProcessor. as:49]
    at  com.adobe.linguistics.spelling.ui::SpellingContextMenu/handleContextMenuSelect()[C:\squig gly\esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\SpellingContex tMenu.as:124]
    So is there any fix for the above error or a workaround for this.
    This has been filed as bug in an application I am working on.
    regards,
    Anup Francis

    Thank you for reporting this issue.
    I was unable to reproduce this problem under the following configurations:
    Mac OSX 10.6.3, Flash 10.0.42.34, Firefox 3.6.3
    Windows XP, Flash 10.0.45.2, IE 8.0.6001
    Windows XP, Flash 10.1.53.21, Firefox 3.6.3
    Could you provide more details about the software configurations you have that reproduces this problem?
    Also, is there a specific location you click in the TextArea?  On the word?  On white space?
    Thanks,
    - Bruce, Adobe

  • Parse Complex type WSDL using WSDL4J==??????

    I cannot parse the arguments of "Area" helppppppppppp pleaseeeeeeeeee
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://testfinal" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://testfinal" xmlns:intf="http://testfinal" 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="http://testfinal" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="x" type="xsd:string"/>
    <complexType name="Area">
    <sequence>
    <element name="f" type="xsd:int"/>
    <element name="fo" type="xsd:int"/>
    </sequence>
    </complexType>
    <element name="f" type="impl:Area"/>
    <element name="getSampleReturn" type="xsd:string"/>
    <element name="sample" type="xsd:string"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="getSampleRequest">
    <wsdl:part element="impl:x" name="x"/>
    <wsdl:part element="impl:f" name="f"/>
    </wsdl:message>

    I cannot parse the arguments of "Area"Why not?

  • How Can I parse a complex type WSDL using WSDL4J?

    I cannot parse the element Area---helppppppppppp
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://testfinal" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://testfinal" xmlns:intf="http://testfinal" 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="http://testfinal" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="x" type="xsd:string"/>
    <complexType name="Area">
    <sequence>
    <element name="f" type="xsd:int"/>
    <element name="fo" type="xsd:int"/>
    </sequence>
    </complexType>
    <element name="f" type="impl:Area"/>
    <element name="getSampleReturn" type="xsd:string"/>
    <element name="sample" type="xsd:string"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="getSampleRequest">
    <wsdl:part element="impl:x" name="x"/>
    <wsdl:part element="impl:f" name="f"/>
    </wsdl:message>

    FYI, many folks on these forums are behind corporate firewalls that won't allow access to that sort of site. Particularly when the amount of code is small, as it is here, you're better off posting it in the forum
    create or replace procedure myProcedure( i int ) is
      TYPE mapx IS TABLE OF NUMBER INDEX BY VARCHAR2(64);
      TYPE mapy IS TABLE OF mapx INDEX BY VARCHAR2(64);
      instanceOfMapx mapx;
      instanceOfMapy mapy;
    begin
        instanceOfMapx('Australia') := 30000000;
        instanceOfMapy('val1'):=instanceOfMapx;
        dbms_output.put_line('hi');
        /* i want here that in my procedure return this instanceOfMapy */
    end myProcedure;If you want to modify that to return an instance of MAPY
    1) You'll need to declare MAPX and MAPY in a package so that they can be referenced in multiple places
    2) You'll need to add an OUT parameter to your procedure
    The smallest change that would work would be
    CREATE OR REPLACE PACKAGE map_pkg
    AS
      TYPE mapx IS TABLE OF NUMBER INDEX BY VARCHAR2(64);
      TYPE mapy IS TABLE OF mapx INDEX BY VARCHAR2(64);
    END map_pkg;
    create or replace procedure myProcedure( i IN integer, instanceOfMapy OUT map_pkg.mapy )
    is
      instanceOfMapx map_pkg.mapx;
    begin
        instanceOfMapx('Australia') := 30000000;
        instanceOfMapy('val1'):=instanceOfMapx;
        dbms_output.put_line('hi');
        /* i want here that in my procedure return this instanceOfMapy */
    end myProcedure;Of course, practically, I'd expect that you'd likely want to move myProcedure into the package you created.
    Justin

  • Issues with file locking when reading a file using RollingFile Appender

    Hi,
    I am facing a file Rotation Issue with log4j. I want a way to read one file from two diff apps.
    Intro: App A is writing a file F using log4j rolling file appender and app B is reading the same file F using “new BufferedReader(new InputStreamReader(new FileInputStream(_file)))”.
    Issue: App A is not able to roll the file. Because it is having a handle on the same file F.
    Please let me know how can I handle this issue.

    If you have the file open for reading when log4j tries to rename it, the rename will fail. Solution: don't have the file open for reading.
    I want to read the feed of such rolling logs without closing any handle.I gave you a solution to that too.
    If I am closing the handle after every read then there will be no way to determine where I left.Nobody suggested that.
    Is there any possible solution for this?What part of the solution I have already posted didn't you understand?

Maybe you are looking for

  • Using itunes to perm delete files from ext hard drive

    hello. the ext hard drives that contain my music crashed some time ago, and most of the files were thankfully restored, but in a slightly messy fashion, so now there's a lot of duplicate files and folders. the easiest way for me to clean this up woul

  • Transfer of specific gl account balances transfer

    We want to transfer the particular GL account balances not all gl account balances.  How to transfer.  I dont find any list of selection gl accounts in F.16 or FAGLGVTR

  • SCOM health check on Exchange 2010 servers

    Hi, Does SCOM have any built-in function to perform health check on Exchange 2010 servers?

  • Run JMF in Forte

    Could anyone tell me how I can run JMF in Forte? Where can I add this JMF in Forte? ken

  • GZIP ERROR -

    Hi all, when Trying to audit a running instance on bpel console i got the gzip error below. i click audit==>view raw xml ...any heşp would be appreciated.. reagrds *<exception>* Cannot uncompress data stream. Cannot uncompress data stream with GZIP a