WSDL validation problem with WS-I

I created a WSDL with jDeveloper 10.1.3.2 following the Oracle Tutorial
http://www.oracle.com/technology/obe/obe1013jdev/wstopdown/wstopdown.htm
At the point where i have to validate the WSDL with the WS-I tester i get an error message:
Assertion: BP2701
The wsdl:definitions namespace is not: http://schemas.xmlsoap.org/wsdl/
All the entrys inside teh WSDL are written from jdeveloper.
the output WSDL looks like:
<definitions targetNamespace="urn:CreditRating"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="urn:CreditRating"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:types="http://CreditRating.xsd">
<types>
<schema targetNamespace="http://CreditRating.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<element name="ssn" type="string"/>
<element name="rating" type="int"/>
<element name="error" type="string"/>
</schema>
</types>
<message name="CreditRatingRequestMessage">
<part name="ssn" element="types:ssn"/>
</message>
<message name="CreditRatingResponseMessage">
<part name="rating" element="types:rating"/>
</message>
<message name="CreditRatingFaultMessage">
<part name="error" element="types:error"/>
</message>
<portType name="CreditRating">
<operation name="processCreditRating">
<input message="tns:CreditRatingRequestMessage"/>
<output message="tns:CreditRatingRequestMessage"/>
<fault message="tns:CreditRatingFaultMessage" name="negativCredit"/>
</operation>
</portType>
<binding name="CreditRatingSoapHttp" type="tns:CreditRating">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="processCreditRating">
<soap:operation soapAction="urn:CreditRating/processCreditRating"/>
<input>
<soap:body use="literal" parts="ssn"/>
</input>
<output>
<soap:body use="literal" parts="ssn"/>
</output>
<fault name="negativCredit">
<soap:fault use="literal" name="negativCredit"/>
</fault>
</operation>
</binding>
<service name="CreditRatingService">
<port name="CreditRatingServiceSoapHttpPort"
binding="tns:CreditRatingSoapHttp">
<soap:address location="tbd"/>
</port>
</service>
</definitions>
I can not see where the porblem is. Can someone help me please?
Tanks Bs

Hi ,
there is not any problem in code or in function.
You just need to double click on Excel field where you are having that problem of ####.
Whenever display size of cell is less then the data size then it's showing as ###. so you just need to double click on it and make it as per data length...
-Maharshi

Similar Messages

  • JAXB - validation problem with regexp bound int type

    Hello everyone,
    I have a simpleType defined in my schema as follows:
    <xs:simpleType name="BasketRetentionType">
    <xs:restriction base="xs:int">
    <xs:totalDigits value="10"/>
    <xs:pattern value="(0|[1-9][0-9]*)"/>
    </xs:restriction>
    </xs:simpleType>
    '020' and '+20' values are not allowed (as I need it to be), but I've got them validated by JAXB.
    I wonder if there's anyone who can confirm this or shall I add any java code I may have ignored.
    I'm working with :
    - OS : Microsoft Windows NT v4.0 Serv.Pack6
    - java : j2sdk1.4.1_05
    - jaxb : jwsdp-1.3
    Thanks
    L. Chiartano

    Try this pattern: +\\d*|\\d*
    Also take a look at:
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
    I don't know if it's \\d or \d, trail and error.
    bye ki

  • Validation problem with the selected Month-Year and Days in the Month.

    Hi,
    I am unable to figure out the logic for the below senario.
    There are two fields Period and Date
    If Users sets the Period to FEB-11
    and User has to select the Dates of the February Month only and if he selects any other month It should throw an error.
    How could I restrict the user to not enter any other date from the selected period.
    Please suggest.
    Thanks,
    Krishna

    Hi Gyan,
    Thanks for the update.
    I am just tring to copare the values
    able to get the period value and unable to compare to the date format.
    just look at the below code with the output of sop
            OAMessageTextInputBean mtb =
            (OAMessageTextInputBean)webBean.findIndexedChildRecursive("item1");
                OAMessageDateFieldBean mtb1 =
                (OAMessageDateFieldBean)webBean.findIndexedChildRecursive("item2");
            String period = (String)mtb.getValue(pageContext);
            System.out.println("Value of Period:::"+period);   // FEB-11 is the out put
               Date date = (Date)mtb1.getValue(pageContext);
                System.out.println("Value of Period:::"+date); // 2011-02-09 is the output
    // Converting the date to string using SimpleDateFormat
                DateFormat df = new SimpleDateFormat("dd-MM-yyyy");
                String date1 = df.format(date);
                System.out.println("String Date::"+date1);
                String date2 = date1.substring(3,5);
                System.out.println("SubString::"+date2);
           // 02 is the out put I am not able to Format the month in SimpleDateFormat("dd-MON-yyyy") to get the
          //  month as FEB is there any converter.
                String date3 = date1.substring(8,10);
                System.out.println("SubString2::"+date3);
         //11 is the out put
            if (period.equalsIgnoreCase(date2.concat(date3)) )
      // after concatinating the format is 02-11 so its going to exception
                System.out.println("Date in the same Period");
            else {
                throw new OAException ("Date Selected is out of range::");
            }I am not able to Format the month in SimpleDateFormat("dd-MON-yyyy") to get the month as FEB is there any converter.
    The logic is working fine but the month is not getting converted.
    Thanks,
    Krishna

  • Validation problem with dependent selectOneChoice

    Hi,
    I have two af:selectOneChoice box. Both have valueChangeListener. 1st box will load the value in 2nd box and the 2nd box listener has some logic for rendering other component. Required and immediate attribute are true for both the box.
    Now if I change the 1st box then automatically 2nd box "required" validation gets executed, ideally it should happen when I will click the submit button.
    Plz help.

    I am going to Lov from a multi line table Inv Lines to get the current row. and then set where clause based on that.
    I also have another requirement to set where clause based on the columns that are not set as criteria.
    It is like, it is not mandatory to enter two base page columns, but if entered I need to consider in filter my Lov rows.

  • Problem with WSDL file

    Hi,
    I'm new with web services and want to publish a stateless Java class as web service.
    I've created the WSDL file by means of the Web Service Publishing Wizard.
    when I run the "Web service stub/Skeleton Wizard" in step 1 of 2 appears the following warning message:
    "WSDL validation failed with the following exception:
    oracle.xml.parser.v2.XML.ParseException:
    Withespace required".
    Some idea ??
    Thanks in advance
    Alejandro von Eckenbrecher
    [email protected]

    Mike,
    I'm working with the example of OTN "Publish a Stateless Pure Java Web Service".
    I've find that the WSDL file is not being generated correctly, the latest two lines are:
    <binding name="HelloImplBinding" type="tns:HelloImplPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
    If I manually correct them as these:
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    </definitions>
    (add the tags in bold),the XML parser don't report erros and can run the stub/skeleton wizard but in step 2 of 2 don't find any service.
    I believe that the problem this in the WSDL file but them
    are generated automatically from the example files.
    below will find the complete file for reference.
    Thanks
    Alejandro
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by the Oracle9i JDeveloper Web Services WSDL Generator-->
    <!--Date Created: Wed May 07 15:00:46 ART 2003-->
    <definitions
    name="HelloImpl"
    targetNamespace="http://HelloImpl.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://HelloImpl.wsdl"
    xmlns:ns1="http://IHelloImpl.xsd">
    <types>
    <schema
    targetNamespace="http://IHelloImpl.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
    </types>
    <message name="sayHello0Request">
    <part name="param" type="xsd:string"/>
    </message>
    <message name="sayHello0Response">
    <part name="return" type="xsd:string"/>
    </message>
    <portType name="HelloImplPortType">
    <operation name="sayHello">
    <input name="sayHello0Request" message="tns:sayHello0Request"/>
    <output name="sayHello0Response" message="tns:sayHello0Response"/>
    </operation>
    </portType>
    <binding name="HelloImplBinding" type="tns:HelloImplPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"

  • Problem with date validation

    The enclosed trivial sample illustrates a problem I'm experiencing with validating dates
    The date field is initialized when the form opens.
    Once the form is open,  click the button and a popup appears saying there is a validation problem with the date field. Yet if the date is selected with the date selection widget the appearance is exactly the same, but without the validation problem. What's going on?

    OK, I've solved this, but I am hoping some kind person can tell me why I solved it.
    On the trivial form I enclosed before before, the "click" script used to say
    xfa.forms.recalculate(1);
    Now I've changed it to
    xfa.forms.recalculate (0);
    And I no longer see the undesired date validtion errors when I click the button. (See updated enclosure on this post).
    The difference is supposed to be that, if the parameter is 0 (or false) then only "pending" calculation scripts are fired, and if 1 (or true) then all calculation scripts are fired. So what does it mean to my DateTime field having unjust validation errors? The DateTime field has no calculation script, only an iitialize script.

  • WSDL validation failed, can't generate WS stub

    I've searched this forum for this and could not find anything relevant.
    I'm new to JDeveloper, and just installed 10.1.2. I have the Oracle Press book, "Oracle JDeveloper 10g handbook". In the book, chapter 14 contains a "Hands-on Practice" of creating an application that uses a web service. The example uses the Google Web APIs.
    When I get to the step to generate a web service stub from the GoogleSearch.wsdl, JDeveloper produces the following error:
    "WSDL validation failed with the following exception: The WSDL document is ill defined or incomplete and cannot be used to generate a stub."
    I've also tried the google wsdl that is available at the URL, http://api.google.com/GoogleSearch.wsdl
    It too yields the same error.
    I'm going to proceed with other WSDL files and see what happens. If anyone has any info to share on this, I would appreciate it.
    Thanks
    Morgan

    Ok, I found the problem.
    I was also getting a "can not find main class" error on startup. This thread
    Could not find the main class. Program will fail
    pointed out that you should not install JDeveloper into a folder with an embedded space. I had it subordinate to Program Files. So, I moved it from there and now it gets past the WSDL error when generating a stub from the WSDL.
    Onward!

  • Validation Errors with adf dialog

    Hi!
    We are using Oracle BC and ADF Faces.
    I'm having some validation problems with a adf dialog.
    The scenario is the following:
    An editing page.
    A field in this page has a LOV.
    The LOV has some search criteria, and a search button.
    When the button is clicked, the results appear on a table. The user selects one and the lov is closed.
    When filling the editing page the Lov is opened.
    When i don't put search criteria in the fields, no validation errors appear.
    If i put one or more search criterias, validations errors of the editing page appear.
    Why is this happening?
    Thanks.

    Please post a link to your site.
    Gramps

  • WSDL validation failed. file not found

    Hi all,
    I've tried the web service but I get the error :-
    WSDL validation failed with the following exception:
    java.io.FileNotFoundException
    http://otn.oracle.com/ws/deptemp?WSDL
    URL=http://otn.oracle.com/ws/deptemp?WSDL
    Can anyone tell me what's wrong ?

    Could it be the proxy setting or an authenticated proxy as noted in step 4 of the tutorial covering the use of this - see:
    Re: ORA-00439: feature not enabled: Fine-grained access control
    Mike.

  • Problem with Consuming ABAP Server Proxy WSDL in InfoPath

    Tried to design a InfoPath (MS Office 2003) form from a WSDL file of a web service generated from an ABAP Server Proxy in a NW2004s SP10 system.  InfoPath rejected this WSDL with error “InfoPath cannot use the selected Web service method for receiving data because the method does not provide valid XML data”.  Tried other WSDL files from other web services from ABAP Proxy with InfoPath, all got rejected.
    Validated the WSDL file with XMLSPY, no error.  Tried to import the WSDL into XI 3.0, no error.  Also tried the WSDL in .NET C#, also worked fine.  It seemed only InfoPath does not like this WSDL from ABAP Proxy. 
    Created a similar web service in XI 3.0 and InfoPath had no problem with its WSDL.  Then I compared the two WSDL files.  There are differences.  After try and error on changing the differences, I have nailed down to the XML tag that caused the problem.  Please see the extracted WSDL line attached at the end.  In the XI 3.0 generated WSDL the wsdl:message and the wsdl:part have the same name.  In the ABAP Proxy generated WSDL the wsdl:part has the name “Parameters” which is different from the wsdl:message.  After I copied the wsdl:message name to the wsdl:part name, InfoPath accepted the WSDL file without any problem.
    I know the fix but I like to find out the root cause.  Is this a known issue?  Did we miss some configuration setting that’s causing this issue?  Any help will be much appreciated.
    WSDL from NW2004s SP10 ABAP Proxy
    <wsdl:message name="RegionR3GetList_Req_MT">
        <wsdl:part name="Parameters" element="tns:RegionR3GetList_Req_MT"/>
    </wsdl:message>
    <wsdl:message name="RegionR3GetList_Resp_MT">
        <wsdl:part name=" Parameters" element="tns:RegionR3GetList_Resp_MT"/>
    </wsdl:message>
    WSDL from XI 3.0 Interface
    <wsdl:message name="RegionR3GetList_Req_MT">
        <wsdl:part name="RegionR3GetList_Req_MT" element="tns:RegionR3GetList_Req_MT"/>
    </wsdl:message>
    <wsdl:message name="RegionR3GetList_Resp_MT">
        <wsdl:part name="RegionR3GetList_Resp_MT" element="tns:RegionR3GetList_Resp_MT"/>
    </wsdl:message>

    Anne Tarnoruder has pointed out to me that her SDN article "Consuming SAP Enterprise Services in a Microsoft Office InfoPath Form" has described the the cause and workaround of this issue on page 9.  I am extracting it below and mark this thread as answered.  Thanks to Anne but not sure how I can award point to her.
    Currently SAP supports only the Document style of WSDL, and not the Microsoft-specific RPC style, which causes a problem when consuming SAP services in the Microsoft environment. In this example, you need to apply a workaround that involves a minor correction of locally-stored WSDL files:
    a. In the Project Explorer toolbar, click the Show all files icon and expand the Web reference folder.
    b. For each Web reference in the project, perform the following steps:
    c. Open the WSDL file, replace all instances of <wsdl:part name="parameters" with <wsdl:part name="parameter" (remove the s in parameters) and save the file.
    d. Right-click the Reference.map file and choose Run Custom Tool to invoke a utility that generates code for XML Web services. This recreates the local proxy.

  • The timesheet creation failed, because of problems with the project I server or with data validation

    Hi,
    One of my user is facing issue in creating new time sheet,
    "The time sheet creation failed, because of problems with the project server or with data validations".
    This issue is coming to only few members out of 10000 members.
    Note: For the same user, can able to do in other machines. only the problem in his machine. Have ran the office diagnostics, but still the problem persists.
    Is any add-on's/any settings need to update in IE. Could any one please help me on how to fix this issue?
    Many thanks in advance.

    I would check the compatibility settings in IE etc, or try another browser (chrome, safari etc.)
    Ben Howard [MVP] | web |
    blog | book

  • Problem with Item Validation

    Hello,
    I am running an advanced tutorial: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/issue_track_ui.htm#BGBJCGIC
    and I have a problem with item Validation.
    Tutorial offers the following:
    You must manually create another validation to ensure that the Actual End Date is the same or later then the Start Date.
    To add a validation for the Actual End Date:
    1.Under Page Processing, Validations, click the Create icon.
    2.For Level, accept the default, Item level validation, and click Next.
    3.For Item, select Project Details: 50.P3_ACTUAL_END_DATE (Actual End Date) and click Next.
    4.For Validation Method:
    a.Select PL/SQL and click Next.
    b.Accept the default, PL/SQL Expression and click Next.
    5.For Sequence and Name:
    a.Sequence - Enter 50.
    b.Validation Name - Enter P3_END_AFTER_START.
    c.Accept the remaining defaults and click Next.
    6.For Validation:
    a.Validation - Enter:
    to_date(:P3_ACTUAL_END_DATE,:APP_DATE_FORMAT) >= to_date
    (:P3_START_DATE,:APP_DATE_FORMAT)
    b.Error Message - Enter:
    Actual End Date must be same or after Start Date.
    c.Click Next.
    7.For Conditions:
    a.Condition Type - Select Value of Item in Expression 1 is NOT NULL
    b.Expression 1 - Enter P3_ACTUAL_END_DATE
    8.Click Create.
    Is there a mistake in explanation? I did it 3 times already, very carefully! I ran the page, entered the date, which is After the Start date, and get the error message: Actual End Date must be same or After Start Date!!
    Thank you for your consideration...

    I got it solved. I don't know if this is documented(or a bug) but what I did was declare an exception and then raise it and put the form_trigger_failure into the exception handler rather than raise form_trigger_failure in the body.
    declare
    alreadyExists exception;
    begin
    -- select .....
    raise alreadyExists;
    exception
    when alreadyExists then
    message('.....exists');
    raise form_trigger_failure
    end;

  • 1 year ago i installed Elements 12 on my PC with a serial number.  Today i have installed Elements 12 also on my laptop. But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this progra

    One year ago i installed Elements 12 on my PC with a serial number and it was OK.
    Today i have installed Elements 12 also on my laptop.
    But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this program real disapeare in 7 days?
    Hans

    Hi,
    Since you already have one copy activated the serial number must be logged in your account details - I would first check that the one logged and the one you are attempting to enter are the same.
    You can check your account details by going to www.adobe.com and clicking on Manage Account. You need to sign in with your Adobe Id and then click on View All under Plans & Products. Next click on View your products and after a while it should produce your list.
    If there is a problem with the serial number, only Adobe can help you there (we are just users). Please see the response in this thread
    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge
    Brian

  • Please help me with the digital signature validation problem?

    Please help me with the digital signature validation problem?

    Hi
    Execute the program in the Debuggin mode.
    In the Debugger Window
    Select Breakpoint -> Break point at -> Breakpoint at source code Menu Item and enter the details of the program/include/line no..
    Activate the System Debugger On from the Settings Menu.
    Hope this would help you.
    Murthy
    Edited by: Kalyanam Seetha Rama Murthy on Jul 18, 2008 7:20 AM

  • Problem with old namespace in WSDL file

    I have a problem with my WSDL file.  My scenario is SOAP to IDOC. 
    Originally the ESB data types were configured under namespace urn:test1:xxx  for development purposes.  When it came time to implement and test, we copied the data types from the old name space to a new namespace http://company.com:interface.
    After the new objects were created, all the old test objects were deleted, including the old namespace definition.  Now when I generate the WSDL file, the top part of the WSDL file looks correct, but toward the bottom, there are references to the old namespace.
    Does anyone know why these reference are appearing, and is there any way to correct this without deleting all my objects and rebuilding everything?
    Thanks in advance for any help.  Will award points for help.
    Terri

    Found the problem....the XML namespace in the Message type still contained the old namespace.  When this was changed to the new namespace, second target namespace was no longer generated.

Maybe you are looking for

  • Garageband no longer works, after Leopard install

    Anyone else have this problem? I installed Leopard. Of course, supposed to be THE up-to-date thing, now Garageband won't let me do a thing. It opens, but not before stating "possible conflict with 3rd party MIDI drivers" ...No idea. That error box wi

  • Oracle ADF 12c SDO :- Failure in SDOSerializer.deserialize

    Hi, I am working on ADF 12c  and I have created a SDO service. while testing the SDO service from SOAP UI, I am getting below error         <env:Fault>            <faultcode>env:Server</faultcode>            <faultstring>Failure in SDOSerializer.dese

  • IMPORT PO - WITH PART1 ONLY OPTION

    Hi, I need to have part1 only option for import puchase secnerio.. where i'm not able to post the excise invoice . my req is as bleow, 1- capture customs boe in miro 2- GR with part1 only1 option in migo 3- capture the exicse inv in j1iex 4- post the

  • Photoshop won't open video

    I have this error message when I try to import a video using Photoshop 32 bit: Could not complete the video frames to layers Command because the movie couldn't be opened. (I'm using Windows 7)Thanks. More power to you!

  • Animating AP elements created in Dreamweaver

    I brought into Edge Animate an html page I created in Dreamweaver that has some AP elements. Using Edge Animate I animated the elements-just made them move slightly as the page loads. Two out of three elements animated fine when viewed in Google Chro