Wscompile insertion of schema types into wsdl file

The <types/> element is empty in my WSDL file after I compile the web service with wscompile. The operation parameter type is String. I am using Apache XMLBeans. How do I configure wscompile in JWSDP 2.0 to insert the schema types into the WSDL file when it generates the WSDL?
Thank you,
Glenn

The targetnamespace is used define the namespace for the definitions made in your schema.
For example,
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="foo">
<xsd:complexType name="fred">
</xsd:complexType>
Then "Fred" will be in the "foo" namespace
And if you had another schema in your wsdl like
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="bar">
<xsd:complexType name="fred">
</xsd:complexType>
Then you would have two "fred" types one in the "foo" namespace and one in the "bar" namespace.
Then later on in your WSDL you could refer to either one.

Similar Messages

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • (261705413) Q RPCC-21 Missing text/xml MIME-type for WSDL files?

    Q<RPCC-21> Would it mess up the SOAP operations that clients do when using the
    WSDL in a dynamic client to put a text/xml mime type in the WSDL-providing jsp?
    A<RPCC-21>: It is a known issue that the MIME-type for WSDL files is not appropriately
    transmitted so some web browsers will not identify an appropriate helper application
    when they are viewed (for Netscape just press Ctrl-U to view the source). This,
    however, does not affect the dynamic client as evidenced by the example code seen
    in the code demonstration.
    Adam

    SR,
    You probably already have the answer by now, but I just came across the same problem and found the answer elsewhere.
    The trick is to have the JavaMail jar in your classpath BEFORE the JAF jar. Given the habit of my development environment to sort jars alphabetifally it had me stumped for a bit.
    Good luck
    Marc

  • Question about changing a file type into another file type

    Hello. This isnt a java question but you guys have been so helpful in the past I hope its ok if I ask this question for a friend.
    How can I import a scriptware file into Screenwriter 2000, or change a .scw file into a .tag file?
    Anyone who can help thanks.

    I know nothing about scriptware or Screenwriter. But, my only advice is to see if Scriptware can export some other file type (not necessarily a .scw file) that Screenwriter can read. Sometimes, when I have two text editors whose native formats are incompatible (like opening a paper typed in a new version of Microsoft Word using an old version of WordPerfect or something), I save the file as an RTF file, rather than in the native format. Maybe something like that applies to your situation, too.
    Hope that helps.
    Jason

  • Best way to insert 300dpi photo's into Ilustrator file for print

    I am creating a 5.5 X 8 postcard style card for print.  I need to place 15 photographs that are aprox. 1.5 X 2.5 each.  What is the best way to insert these files so that my file doesn't become too large?  I will be making a PDF of the final artwork to send to the printer.  Your guidance is much appreciated!!

    Link don't embed the images. Use a layered format such as .psd, .tif, or .pdf. Psd is not lossy, .tif can be lossy if you modify the default settings, .pdf you choose how much compression you want, and a small amount of compression can make a much smaller file size.
    I would recomend using .psd, in cmyk color space. When you make your pdf for printing is when you will decide how much compression and which pdf preset you will use(press ready or PDF X should be a good choice). That will be your important choice.

  • Asking help for insert anydataset(CLOB type) into anydataset col please.

    I am using anydataset as a column type. after referring to the demo anydset.sql:
    can run then following correctly:
    declare
    as1 Sys.AnyDataSet;
    at1 Sys.AnyType ;
    cl1 clob ;
    begin
    Sys.AnyDataSet.BeginCreate(DBMS_TYPES.TYPECODE_CLOB,at1,as1);
    for i in 1..2 loop
         as1.AddInstance();
         cl1 := to_clob(rpad('Clob',i*10,'Clob')) ;
         as1.SetClob(cl1) ;
    end loop ;
    as1.EndCreate();
    --anydataset_display_value(as1);
    end ;
    while if just added one sql to update the cell value to as1 as following:
    declare
    as1 Sys.AnyDataSet;
    at1 Sys.AnyType ;
    cl1 clob ;
    begin
    Sys.AnyDataSet.BeginCreate(DBMS_TYPES.TYPECODE_CLOB,at1,as1);
    for i in 1..2 loop
         as1.AddInstance();
         cl1 := to_clob(rpad('Clob',i*10,'Clob')) ;
         as1.SetClob(cl1) ;
    end loop ;
    as1.EndCreate();
    --anydataset_display_value(as1);
    update dumatmp.tbad set colanydataset1 = as1 where id = 0;
    end ;
    I got :
    ERROR at line 1:
    ORA-22370: incorrect usage of method AnyData Insert
    ORA-06512: at line 14
    why? I know that we did not support embedded LOBs in anydata, is it the same for anydataset and documented?
    Thanks a lot, hope can got response asap, happy Christmas!

    Also, you should always close your resources in finally blocks. So not this:
    try {
      st.executeUpdate(query);
      st.close();
    } catch (SQLException ex) {
      Logger.getLogger(Parqueadero.class.getName()).log(Level.SEVERE, null, ex);
    }because if executeUpdate throws an exception, the close() method is not called. Do this instead:
    try {
      st.executeUpdate(query);
    } catch (SQLException ex) {
      Logger.getLogger(Parqueadero.class.getName()).log(Level.SEVERE, null, ex);
    } finally {
      st.close();
    }That way the close method is always called no matter what happens.
    I'm also a bit confused by a method which closes a resource which it didn't create. The general rule of thumb is that if you (some piece of code) create a resource, you should also close it. But your statement object is being created by a static method from some other class. For all I know that could be getting a statement from a "statement pool" of some kind and you shouldn't be closing it in this method.
    Of course there are plenty of exceptions to that rule of thumb, but I'm not convinced that this code is one of them.
    And it is completely normal for new programmers to finish a project and then immediately want to improve it by rewriting and redesigning. And that's not limited to new programmers, either. Management advice of the form "Be prepared to throw away the first version" dates back at least to the 1970's. However, you should beware of the "second system effect" which is described in [The Mythical Man-Month|http://en.wikipedia.org/wiki/The_Mythical_Man-Month].

  • Inserting a url link into a file made in swish - swf

    Hi everyone - i made asmall swf in Swish -
    I want it to go to a link when the user clicks on it
    Can't seem to work it out
    Any advice most appreciated
    Mark

    quiero mas wrote:
    > Hi everyone - i made asmall swf in Swish -
    > I want it to go to a link when the user clicks on it
    >
    > Can't seem to work it out
    >
    > Any advice most appreciated
    >
    > Mark
    You need to embed the url link within the swf itself. The way
    I used to
    do it was draw a transparent button over the whole aera of
    the swf and
    attached the url to that. Get_url I think.
    I can't exactly remember the steps to produce the results but
    that the
    direction you should be lookin in. Maybe ask on the Flash
    forum for
    specific steps.

  • How to insert a new step type into a submenu?

    Hi!
    I'm inserting a step type into the MyTypes.ini file with c++.
    With the code below I managed to put it into a menu (in the step type menu editor it is called "Group").
    But I want a sub menu.
    How can I put it into a sub menu (in c++)?
    Who can help me? Thanks in advance!!!
    Here is the code:
    property->PutName("StepTypeName");
    typeUseage->InsertType(property, 0, TS::TypeCategory_StepTypes);
    stepObj->PutMenuGroupName("StepTypeMenuGroup");

    TSNewbie,
    There is no API method to edit those groups. I can only suggest to use the Step Type Menu Editor to create the group you want and make it a submenu. Then when you call stepObj->PutMenuGroupName("SubMenuGroup") the step type will be in that submenu.
    I apologize if this isn't the answer you are looking for.
    Ronald Byrd (NI)

  • How to insert landing site and impression code into swf files

    Hi guys!
    i got problems.
    Actually, i dont have  knowleage about tracking and clicks.
    I want to find out how to use it and use it in swf files.
    i want to insert landing site and impression code into swf files but i dont know how to do it.
    i want insert two link below into swf files.
    Impression:
         http://impgb.tradedoubler.com/imp?type(inv)g(xxxxxxx)a(xxxxxxx)
    Click:
         http://clk.tradedoubler.com/click?p=xxxxxx&a=xxxxxxx&g=xxxxxxx
    Can you show me how to do that?
    Thanks for your helps.

    You would need to creat a invisible button or movieclip on a new layer on top and have it fire a external javasctipt function you create in the HTML header that will then call those URLs .

  • Netbeans creating wsdl file having message with more than one part...

    Hi,
    I am using netbeans 6.0.1. I made an xml schema, then I wanted to make an wsdl that uses that schema.
    I wanted to put in a message more parts(3), and it would not let me. Then, i made the message with just one part, and added the other parts afterwards.
    But now, when I try to make a web service from that wsdl, it says that there is no service in the specified wsdl file.
    And if i let that message with just one part, it will make the Web Service.
    here is the xml schema and the wsdl file:
    XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/Abruf38"
    xmlns:tns="http://xml.netbeans.org/schema/Abruf38"
    elementFormDefault="qualified">
    <xsd:complexType name="FormRequest">
    <xsd:sequence>
    <xsd:element name="newRequest" type="xsd:boolean"/>
    <xsd:element name="requestNumber" type="xsd:int"/>
    <xsd:element name="vehicleClass" type="xsd:string"/>
    <xsd:element name="vehiclesNumber" type="xsd:int"/>
    <xsd:element name="prefferedType" type="xsd:string"/>
    <xsd:element name="kombi" type="xsd:boolean"/>
    <xsd:element name="usageMission" type="xsd:boolean"/>
    <xsd:element name="usageEducation" type="xsd:boolean"/>
    <xsd:element name="usageGeneral" type="xsd:boolean"/>
    <xsd:element name="usageOthers" type="xsd:string"/>
    <xsd:element name="eqVehicle" type="xsd:boolean"/>
    <xsd:element name="eqDangerous" type="xsd:boolean"/>
    <xsd:element name="eqPlaneSpriegel" type="xsd:boolean"/>
    <xsd:element name="eqBegrstll" type="xsd:boolean"/>
    <xsd:element name="eqMSitzBTruck" type="xsd:boolean"/>
    <xsd:element name="eqVerzurrAusst" type="xsd:boolean"/>
    <xsd:element name="eqOthers" type="xsd:string"/>
    <xsd:element name="bringService" type="xsd:boolean"/>
    <xsd:element name="holService" type="xsd:boolean"/>
    <xsd:element name="chauffService" type="xsd:boolean"/>
    <xsd:element name="otherService1" type="xsd:string"/>
    <xsd:element name="otherService1Chk" type="xsd:boolean"/>
    <xsd:element name="otherService2" type="xsd:string"/>
    <xsd:element name="otherService2Chk" type="xsd:boolean"/>
    <xsd:element name="otherService3" type="xsd:string"/>
    <xsd:element name="otherService3Chk" type="xsd:boolean"/>
    <xsd:element name="activity" type="xsd:string"/>
    <xsd:element name="costPayer" type="xsd:string"/>
    <xsd:element name="costCenter" type="xsd:string"/>
    <xsd:element name="vehicleCost" type="xsd:float"/>
    <xsd:element name="chauffServiceCost" type="xsd:float"/>
    <xsd:element name="holBringServiceCost" type="xsd:float"/>
    <xsd:element name="totalCost" type="xsd:float"/>
    <xsd:element name="tripPurpose" type="xsd:string"/>
    <xsd:element name="fixTermin" type="xsd:boolean"/>
    <xsd:element name="justificationFix" type="xsd:string"/>
    <xsd:element name="requestID" type="xsd:string"/>
    <xsd:element name="rentalPeriod" type="tns:RentalPeriod"/>
    <xsd:element name="carPool" type="tns:CarPool"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CarPool">
    <xsd:sequence>
    <xsd:element name="poolID" type="xsd:string"/>
    <xsd:element name="poolName" type="xsd:string"/>
    <xsd:element name="orgNumber" type="xsd:string"/>
    <xsd:element name="vehicle" maxOccurs="unbounded" type="tns:Vehicle"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="RentalPeriod">
    <xsd:sequence>
    <xsd:element name="rentalPeriodID" type="xsd:string"/>
    <xsd:element name="startDate" type="xsd:date"/>
    <xsd:element name="endDate" type="xsd:date"/>
    <xsd:element name="startTime" type="xsd:time"/>
    <xsd:element name="endTime" type="xsd:time"/>
    <xsd:element name="startLocation" type="xsd:string"/>
    <xsd:element name="endLocation" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Vehicle">
    <xsd:sequence>
    <xsd:element name="vehicleID" type="xsd:string"/>
    <xsd:element name="vehicleClass" type="xsd:string"/>
    <xsd:element name="vehicleRegisterNo" type="xsd:int"/>
    <xsd:element name="vehicleType" type="xsd:string"/>
    <xsd:element name="seatsNumber" type="xsd:int"/>
    <xsd:element name="cost" type="xsd:float"/>
    <xsd:element name="available" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Contact">
    <xsd:sequence>
    <xsd:element name="contactID" type="xsd:string"/>
    <xsd:element name="contactName" type="xsd:string"/>
    <xsd:element name="telNumber" type="xsd:int"/>
    <xsd:element name="faxNumber" type="xsd:int"/>
    <xsd:element name="loNo" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Person">
    <xsd:sequence>
    <xsd:element name="personID"/>
    <xsd:element name="department" type="xsd:string"/>
    <xsd:element name="serviceNumber" type="xsd:int"/>
    <xsd:element name="contact" type="tns:Contact"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Department">
    <xsd:sequence>
    <xsd:element name="departmentID" type="xsd:string"/>
    <xsd:element name="fundsDepartment" type="xsd:string"/>
    <xsd:element name="mvwdst" type="xsd:int"/>
    <xsd:element name="distributionNumber" type="xsd:int"/>
    <xsd:element name="contact" type="tns:Contact"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="formRequestElement" type="tns:FormRequest"/>
    <xsd:element name="personElement" type="tns:Person"/>
    <xsd:element name="departmentElement" type="tns:Department"/>
    <xsd:element name="vehicle" type="tns:Vehicle"/>
    <xsd:element name="loadFormReturn" type="xsd:boolean"/>
    <xsd:element name="editFormReturn" type="xsd:boolean"/>
    </xsd:schema>
    Wsdl File:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="userWS" targetNamespace="http://j2ee.netbeans.org/wsdl/userWS"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://xml.netbeans.org/schema/Abruf38" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://j2ee.netbeans.org/wsdl/userWS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/userWS">
    <xsd:import namespace="http://xml.netbeans.org/schema/Abruf38" schemaLocation="Abruf38.xsd"/>
    </xsd:schema>
    </types>
    <message name="loadFormRequest">
    <part name="formRequest" element="ns:formRequestElement"/>
    <part name="person" element="ns:personElement"/>
    <part name="department" element="ns:departmentElement"/>
    </message>
    <message name="loadFormReply">
    <part name="retVal" element="ns:loadFormReturn"/>
    </message>
    <portType name="userWSPortType">
    <operation name="loadForm">
    <input name="input1" message="tns:loadFormRequest"></input>
    <output name="output1" message="tns:loadFormReply"/>
    </operation>
    </portType>
    <binding name="userWSBinding" type="tns:userWSPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loadForm">
    <soap:operation/>
    <input name="input1">
    <soap:body use="literal"/>
    </input>
    <output name="output1">
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="userWSService">
    <port name="userWSPort" binding="tns:userWSBinding">
    <soap:address location="http://localhost:18181/userWSService/userWSPort"/>
    </port>
    </service>
    <plnk:partnerLinkType name="userWS1">
    <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
    In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
    A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
    <plnk:role name="userWSPortTypeRole" portType="tns:userWSPortType"/>
    </plnk:partnerLinkType>
    </definitions>
    The message that Netbeans says when trying to put more parts to the message is:
    WS-I Basic Profile Rule R2210: If a document-literal binding in a DESCRIPTION does not specify the parts attribute on a soapbind:body element, the corresponding abstract wsdl:message MUST define zero or one wsdl:parts.
    Please...I am desperate, cause I am pressed by time!
    Can anyone tell me how can I make it work. Cause it is very common to use a Web service operation that has more than ONE parameter.
    I am waiting for your replys!

    Hi,
    Change the <soap:binding style="document"... to <soap:binding style="rpc"... and see if that works.
    I'm not sure how to get <soap:binding style="document"... working yet - I'm not that experienced in web services yet.
    Hope this helps and is not too late.
    Regards,
    Greg Nye

  • How to put user comments in WSDL File through webservices

    I created one web service application and i deployed and it is running.
    Now I want to put comments (like what is the parameters, type) in wsdl file for
    each method in my web service.
    I am using web logic server 8.1 service pack 2.
    Any can give answers to my question

    Use the sap-user parameter in the WSDL...for more information refer: /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Regards,
    Abhishek.

  • BPM: Multiple IDOC collect into one file

    Hi
    I have done collecting multiple IDOCs of same type into one file using BPM
    I have used the following blog which is collecting different types of IDOCs.
    IDOCs (Multiple Types) Collection in BPM
    But i have done collecting of IDOCs which are same type.
    Source side it is showing successful and its reaching to BPM also . But in target i am not getting any file. Could any one please help me how to check where exactly I am failing.
    Thanks & Regards
    Sowmya

    Check whether the Outbound Status is successful or not in sxm_moni. Is there any message created from Integration Process to receiver File system.
    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80a22ce8-8e72-2b10-3fba-e9511c6f0b8b
    Regards,
    Prateek

  • How to write a data type into an excel file?

    Hi everyone,
    What I am trying to do is to get some data from MS SQL then write into an excel file.
    stmtExcel.executeUpdate("Insert into [Output$] (CustomerID, ProductID, [Date], OrderQty) Values(" + rsSQL.getInt("CustomerID") + ", " + rsSQL.getInt("ProductID") + ", '" + (rsSQL.getString("Date")).substring(0,10) + "', " + rsSQL.getInt("OrderQty") + ")");
    There is no problem to write into an excel file, however, after all data is imported, excel sheet treats the the integers or dates as Text format. The funny part is, after I double click one of the cells with an integer value, that cell's format will be changed to integer, same thing happens with the date type.
    I am wondering if there is any way I can write an integer or whatever type into an excel file, which excel can recognize their own types instead of Text format. Thank you so much in advance.
    Sincerely,

    Yes, use an API that supports such things, like Andy
    Khan's JExcel:
    http://www.andykhan.com/
    %Thanks, duffymo. I haven't tried it yet, but according to the website, it seems that is possible! thanks again!

  • How to insert 3D Model data into an EPUB file?

    Afternoon,
    I am trying to insert a 3D model into an epub document. Does anybody know how to do this either within InDesign or with any other Adobe Program? The model I have is a Sketchup model and any export file type I try cannot be opened directly within InDesign.
    In terms of working with an EPUB file Mac had the ibooks Author software which lets you insert Collada data and view a 3D Model within an ebook however this only lets me maintain my file as a ibook but in terms of the business I need to maintain EPUB compatibility as they are more uniformly compatible across our clientèle.
    Can anyone shed some light on how to achieve the output I require?
    Spoke to adobe support and they expressed about using 3rd party external coders to achieve this but i know very little about code unfortunately.
    Regards,
    G

    InDesign doesn't natively support placing 3D models. It would have to be done with coding. If you can't do the coding yourself, you may have to pay for the service from an EPUB coding expert. You could also investigate third party EPUB software to see if they support it. Here is a recently-mentioned example (I don't know if they support it):
    http://iampariah.com/blog/creative-pro/fill-indesigns-fixed-layout-epub-gaps-with-circular flo.php

  • Xsl schema import from within a wsdl file

    I have a namespace conflict issue validating a bpel process.
    The message error is as follow:
    [bpelc] [Error] SMSSenderEnablerSEIWrapper.wsdl.2.wsdl:19:80: src-resolve.4.2: Error resolving component 'tns2:InvocationContext'. It was detected that 'tns2:InvocationContext' is in namespace 'http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI', but components from this namespace are not referenceable from schema document 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'tns2:InvocationContext' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'.
    [bpelc] [Error] SMSSenderEnablerSEIWrapper.wsdl.2.wsdl:20:76: src-resolve.4.2: Error resolving component 'tns1:SMSMessageETO'. It was detected that 'tns1:SMSMessageETO' is in namespace 'http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI', but components from this namespace are not referenceable from schema document 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'tns1:SMSMessageETO' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'.
    I've already seen this kind of error in other posts, but this was encountered with xsd files. In my case, I'm trying to use complexTypes defined in a schema, defined itself in a WSDL file. The needed file (SMSSenderEnablerSEI) is referenced in the bpel.xml file.
    // Here the BPEL file (SMSMulticast2.bpel)
    <pre>
    <!-- SMSMulticast2 BPEL Process [Generated by the Oracle BPEL Designer] -->
    <process name="SMSMulticast2" targetNamespace="http://com.osa.mdsp.csp.ena.smms.smsmulti/V1.0" suppressJoinFailure="yes" xmlns:tns="http://com.osa.mdsp.csp.ena.smms.smsmulti/V1.0" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:nsxml0="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:nsxml1="http://com.osa.mdsp.enabler.sei/PimEnabler:DirectService/2004/V1.0">
         <!-- ================================================================= -->
         <!-- PARTNERLINKS -->
         <!-- List of services participating in this BPEL process -->
         <!-- ================================================================= -->
         <partnerLinks>
              <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
              <partnerLink name="client" partnerLinkType="tns:SMSMulticast2" myRole="SMSMulticast2Provider"/>
              <partnerLink name="SMSEnabler" partnerLinkType="nsxml0:SMSSenderEnablerRemoteLink" partnerRole="SMSSenderEnablerRemoteProvider"/>
              <partnerLink name="PIMEnabler" partnerLinkType="nsxml1:PimDirectServiceEnablerSEIImplLink" partnerRole="PimDirectServiceEnablerSEIImplProvider"/>
         </partnerLinks>
         <!-- ================================================================= -->
         <!-- VARIABLES -->
         <!-- List of messages and XML documents used within this BPEL process -->
         <!-- ================================================================= -->
         <variables>
              <!-- Reference to the message passed as input during initiation -->
              <variable name="smsmultiRequest" messageType="tns:SMSMulticast2RequestMessage"/>
              <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
              <variable name="smsmultiResponse" messageType="tns:SMSMulticast2ResponseMessage"/>
              <variable name="count" type="xsd:integer"/>
              <variable name="contactRequest" messageType="nsxml1:retrieveContactRequest"/>
              <variable name="smsRequest" messageType="nsxml0:sendSMSRequest"/>
              <variable name="smsResponse" messageType="nsxml0:sendSMSResponse"/>
              <variable name="contactResponse" messageType="nsxml1:addContactResponse"/>
         </variables>
         <!-- ================================================================= -->
         <!-- ORCHESTRATION LOGIC -->
         <!-- Set of activities coordinating the flow of messages across the -->
         <!-- services integrated within this business process -->
         <!-- ================================================================= -->
         <sequence name="main">
              <!-- Receive input from requestor.
    Note: This maps to operation defined in SMSMulticast2.wsdl
    -->
              <receive name="receiveInput" partnerLink="client" portType="tns:SMSMulticast2PT" operation="process" variable="smsmultiRequest" createInstance="yes"/>
              <!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
              <assign name="setProperties">
                   <copy>
                        <from expression="5"></from>
                        <to variable="count"/>
                   </copy>
                   <copy>
                        <from variable="smsmultiRequest" part="parameter" query="/tns:SMSMulticast2Request/tns:inputMSISDN"></from>
                        <to variable="smsRequest" part="parameters" query="/nsxml0:sendSMS/nsxml0:sms/nsxml0:senderAddress"/>
                   </copy>
                   <copy>
                        <from variable="smsmultiRequest" part="parameter" query="/tns:SMSMulticast2Request/tns:inputMessage"></from>
                        <to variable="smsRequest" part="parameters" query="/nsxml0:sendSMS/nsxml0:sms/nsxml0:content"/>
                   </copy>
              </assign>
              <while name="foreach" condition="bpws:getVariableData('count') &gt; 0"><sequence><invoke name="invoke-1" partnerLink="SMSEnabler" portType="nsxml0:SMSSenderEnablerRemote" operation="sendSMS" inputVariable="smsRequest" outputVariable="smsResponse"/>
                        <assign name="decrease"><copy>
                                  <from expression="bpws:getVariableData('count') - 1"></from>
                                  <to variable="count"/>
                             </copy>
                        </assign>
                   </sequence>
              </while>
              <!--invoke name="callbackClient" partnerLink="client" portType="tns:SMSMulticast2Callback" operation="onResult" inputVariable="output"/-->
              <reply name="sendResult" partnerLink="client" portType="tns:SMSMulticast2PT" operation="process" variable="smsmultiResponse"/>
         </sequence>
    </process>
    // Here the WSDL file: SMSSenderEnablerSEIWrapper.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
         name="SMSSenderEnablerSEI"
    targetNamespace="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
         xmlns="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
         xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns4="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
    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>
         <xsd:schema
              elementFormDefault="qualified"
              targetNamespace="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
              xmlns="http://www.w3.org/2001/XMLSchema"
              xmlns:tns="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
              <xsd:complexType name="InvocationContext">
              <xsd:sequence>
              <xsd:element
              maxOccurs="unbounded"
              name="properties"
              nillable="true"
              type="xsd:string"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="EnablerException">
              <xsd:sequence>
              <xsd:element name="errorMessage" nillable="true" type="xsd:string"/>
              <xsd:element name="errorCode" type="xsd:int"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:element name="EnablerException" nillable="true" type="tns:EnablerException"/>
              </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
    <xsd:element name="sendSMS">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotification">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="notificationURL" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSWithNotificationReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSToAlias">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="serviceId" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSToAliasResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSToAliasReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationToAlias">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="serviceId" nillable="true" type="xsd:string"/>
    <xsd:element name="notificationURL" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationToAliasResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element
    name="sendSMSWithNotificationToAliasReturn"
    nillable="true"
    type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
                   <xsd:complexType name="SMSMessageETO">
    <xsd:sequence>
    <xsd:element name="content" nillable="true" type="xsd:string"/>
    <xsd:element name="earliestDeliveryTime" nillable="true" type="xsd:dateTime"/>
    <xsd:element name="expiryDate" nillable="true" type="xsd:dateTime"/>
    <xsd:element name="priority" nillable="true" type="xsd:string"/>
    <xsd:element name="recipient" nillable="true" type="xsd:string"/>
    <xsd:element name="senderAddress" nillable="true" type="xsd:string"/>
    <xsd:element name="contentSentEncoding" nillable="true" type="xsd:string"/>
    <xsd:element name="smsContentSentInGsm7Bits" type="xsd:boolean"/>
    <xsd:element name="smsContentSentInUcs2" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns4="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <xsd:complexType name="SMSException">
    <xsd:sequence>
    <xsd:element name="errorCode" type="xsd:int"/>
    <xsd:element name="message" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SMSException" nillable="true" type="tns4:SMSException"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="sendSMSRequest">
    <wsdl:part element="impl:sendSMS" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSToAliasResponse">
    <wsdl:part element="impl:sendSMSToAliasResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="EnablerException">
    <wsdl:part element="tns2:EnablerException" name="fault"/>
    </wsdl:message>
    <wsdl:message name="sendSMSToAliasRequest">
    <wsdl:part element="impl:sendSMSToAlias" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationToAliasRequest">
    <wsdl:part element="impl:sendSMSWithNotificationToAlias" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationToAliasResponse">
    <wsdl:part
    element="impl:sendSMSWithNotificationToAliasResponse"
    name="parameters"/>
    </wsdl:message>
    <wsdl:message name="SMSException">
    <wsdl:part element="tns4:SMSException" name="fault"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationResponse">
    <wsdl:part element="impl:sendSMSWithNotificationResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationRequest">
    <wsdl:part element="impl:sendSMSWithNotification" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSResponse">
    <wsdl:part element="impl:sendSMSResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:portType name="SMSSenderEnablerRemote">
    <wsdl:operation name="sendSMS">
    <wsdl:input message="impl:sendSMSRequest" name="sendSMSRequest"/>
    <wsdl:output message="impl:sendSMSResponse" name="sendSMSResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotification">
    <wsdl:input
    message="impl:sendSMSWithNotificationRequest"
    name="sendSMSWithNotificationRequest"/>
    <wsdl:output
    message="impl:sendSMSWithNotificationResponse"
    name="sendSMSWithNotificationResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSToAlias">
    <wsdl:input message="impl:sendSMSToAliasRequest" name="sendSMSToAliasRequest"/>
    <wsdl:output
    message="impl:sendSMSToAliasResponse"
    name="sendSMSToAliasResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotificationToAlias">
    <wsdl:input
    message="impl:sendSMSWithNotificationToAliasRequest"
    name="sendSMSWithNotificationToAliasRequest"/>
    <wsdl:output
    message="impl:sendSMSWithNotificationToAliasResponse"
    name="sendSMSWithNotificationToAliasResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding
    name="SMSSenderEnablerRemoteSoapBinding"
    type="impl:SMSSenderEnablerRemote">
    <wsdlsoap:binding
    style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sendSMS">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotification">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSWithNotificationRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSWithNotificationResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSToAlias">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSToAliasRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSToAliasResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotificationToAlias">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSWithNotificationToAliasRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSWithNotificationToAliasResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SMSSenderEnablerRemoteService">
    <wsdl:port
    binding="impl:SMSSenderEnablerRemoteSoapBinding"
    name="SMSSenderEnablerRemote">
    <wsdlsoap:address
    location="http://localhost:8888/Simulateur/services/SMSSenderEnablerRemote?wsdl"/>
    </wsdl:port>
    </wsdl:service>
    <plnk:partnerLinkType name="SMSSenderEnablerRemoteLink">
    <plnk:role name="SMSSenderEnablerRemoteProvider">
    <plnk:portType name="impl:SMSSenderEnablerRemote"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Is that possible to reuse (in a BPEL file) schemas types defined in a wsdl file with Oracle PM? Could you give me a hint to solve this problem?
    Many Thanks
    Guillaume

    You need to use the XSLT before you do assignment to achieve this, to
    change the message to the correct namespace.
    Please refer to sample at
    "orabpel\samples\tutorials\114.XSLTTransformations" which talks about
    how to use XSLT transformation.
    And please refer to
    "orabpel\samples\tutorials\121.FileAdapter\ComplexStructure" sample
    especially "InvToPo.xslt" which talks about doing transformations
    between 2 structures pointing to different namespaces.

Maybe you are looking for

  • How do I add or delete pages from 1 pdf file?

    Since I joined (and upgraded) to the Adobe on-line subscription, I can no longer view a pdf file with thumbnails of all the pages and can no longer drag or move the pages around as I had done in the older version.  Can you please help? Also, when you

  • User Exit for PO creation(me21n and me22n) - A/c assgn Category is existing

    Hi all, I would like to have your guidance to find out an appropriate EXIT to meet the following req. Requirement is such that : This EXIT should generate a G/L account automatically (or over-write the existing G/L a/c) during any PO creation(me21n a

  • SAP Conversion Agent - Performance Tuning

    Hi Experts, We are working with SAP Conversion agent..we have developed several scenarios on that... But, Now we are worried about the performance issues on the same. Can anybody share their experience on SAP Conversion Agent and any performance tuni

  • Issue when doing Levels as last step

    After using the Healing Brush, Clone Tool, Sponge tool, etc. I do Levels Adjustment Layer and it results in the issues in the attached image. Is there a way to avoid this other then doing Levels at the very beginning? The only other way I found aroun

  • Customized java class for an external Java function activity

    Hi, how can i customize my jdeveloper in order to build my own classes for external Java function activities ? because any time i try to build my class the compiler tells me that it doesn't know WFFunctionAPI! And i do not have any idea neither which