Generate WSDL File from Management Console?

Hi,
  I am trying to enable a batch job as a web service. So I registered the batch I want and I copied the whole file from the u201CView WSDLu201D button. Now I am trying to use axis1.1 to generate the code and am getting errors. Is this supposed to generate a fully working WSDL file?
The first error I get is
org.xml.sax.SAXException: Error: URI=file:/c:/axis/BO.wsdl Line=10: Undeclared prefix in name: "xsd:schema".
        at org.apache.axis.utils.XMLUtils$ParserErrorHandler.error(XMLUtils.java:619)
        at org.apache.crimson.parser.Parser2.error(Unknown Source)
        at org.apache.crimson.parser.Parser2.processName(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
        at org.apache.crimson.parser.Parser2.parse(Unknown Source)
        at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:384)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source)
So I add
xmlns:xsd=http://www.w3.org/2001/XMLSchema
to my WSDL file. Then I get
org.xml.sax.SAXException: Error: URI=file:/c:/axis/BO.wsdl Line=1393: Undeclared prefix
        at org.apache.axis.utils.XMLUtils$ParserErrorHandler.error(XMLUtils.java:619)
        at org.apache.crimson.parser.Parser2.error(Unknown Source)
        at org.apache.crimson.parser.Parser2.processName(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
        at org.apache.crimson.parser.Parser2.parse(Unknown Source)
        at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:384)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source)
So I add
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/
Now I am getting other errors
C:\axis>java -classpath C:\j2sdk1.4.2_18\lib\tools.jar;C:\axis\axis-1_1\lib\axis.jar;C:\axis\axis-1_1\lib\axis-ant.jar;C:\axis\axis-1_1\lib\commons-lo
gging.jar;C:\axis\axis-1_1\lib\commons-discovery.jar;C:\axis\axis-1_1\lib\saaj.jar;C:\axis\axis-1_1\lib\jaxrpc.jar;C:\axis\axis-1_1\lib\wsdl4j.jar;C:\
axis\axis-1_1\lib\log4j-1.2.8.jar org.apache.axis.wsdl.WSDL2Java -a c:\axis\BO.wsdl
WSDLException (at /definitions/message[1]/part): faultCode=INVALID_WSDL: Unable to determine namespace of 'di_Wait_Profiling_Task_Output:PF_Task_Response'.:
        at com.ibm.wsdl.util.xml.DOMUtils.getQName(Unknown Source)
        at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:406)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source)
So I was curious if this was supposed to be the complete WSDL file?
Thanks in advance

I tried with 11.7.3.7, using the following command and using axis jar files that are bundled with DI
it did generate the java classes successfully
I don't think there is much difference between 11.7.3.5 and 11.7.3.7
java -classpath "C:\j2sdk1.4.2_18\lib\tools.jar;%LINK_DIR%\ext\lib\axis.jar;%LINK_DIR%\ext\lib\commons-logging.jar;%LINK_DIR%\ext\lib\commons-discovery.jar;%LINK_DIR%\ext\lib\saaj.jar;%LINK_DIR%\ext\lib\jaxrpc.jar;%LINK_DIR%\ext\lib\wsdl4j.jar;%LINK_DIR%\ext\lib\log4j-1.2.8.jar" org.apache.axis.wsdl.WSDL2Java -a c:\axis\BO.wsdl
let me know if its works for you, otherwise will check in 11.7.3.5
how are you using these classes ? for calling a Job published as web service, you could write a simple java client application and passing the SOAP request for calling the batch job

Similar Messages

  • Error while Generating WSDL File from SAP WSDLGenerator

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at WebServiceDescription.SelectOperation.ShowUDOsList(String sessionID)
       at WebServiceDescription.SelectOperation..ctor(String sessionID)
       at WebServiceDescription.WsdlServicesGenerator.ShowOptions()
       at WebServiceDescription.Form1.btCreateWsdl_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    WsdlServicesGenerator
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One%20Web%20Services/WsdlServicesGenerator/WsdlServicesGenerator.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    axh7tjvl
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    o_2nbqv_
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    I am facing problem While Generating WSDL File from WSDL Geerator which is provided by SAP Business One
    If any body has resolved this. Please help Me...!
    Thanks
    Mritunjay

    Hi.
    We've seen that error too few times.
    We downloaded the sourcecode for the wdsl generator and discovered,
    that in our case, it was because we had no user defined objects.
    Its actually a bug as far as I can see, where the wdsl generator tries
    to enumerate a empty recordset, and crashes.
    Regards
    Jørgen T.

  • Does wscompile generate "fault" tag in WSDL file from Java exception class?

    I'm trying to generate WSDL files from Java classes. I defined some of my own exception that inherits from "RemoteException", but wscompile doesn't generate the corresponding complex type and "fault" tag. Does anyone know if this is a bug or wscompile doesn't support from Java Exception to fault?
    Thanks

    It will if the exceptions do not inherit from RemoteException.

  • How can i include Services and Bindung in a generated WSDL file?

    Hi,
    i what to use a generated wsdl file from an erp system, to build a web service client with WSDL2Java (org.apache.axis.wsdl.WSDL2Java).
    I noticed, that services an bindings are missing, also a policy is included.
    How can i include services and bindings in the wsdl and exclude the policy?
    Thanks!

    well, I assume you have SOAMANAGER.
    choose your service & "Apply Selection" (very useless button btw)
    select a binding in the dropdown box or create on if you do not have one yet
    Click button "Show WSDL options" (actually they do not really look like buttons in WD; call it yellow blot)
    Some extra config area is thrown onto your screen (without any sense for usability or design); Change the radio button for WSDL format from "WS policy" to "Standard"; make sure the first radio button group is on "True" for monolithic
    Now click the link (why is this a link and no blot?) called "Display selected bindings WSDL URL"
    an extra text field is again thrown onto your screen somwhere between the dropdown and the WSDL option config area containing an URL (get out your glasses if you don't see the sub-10pt-letters)
    hope it helps,
    anton

  • Error in generating .cs file from wsdl

    hi ,
    I am trying to generate .cs file from wsdl using commond
    wsdl
    http://pni3w274:8080/tc5_services/WebServices/ModelEntity?wsdl /language:CS /out:rt.cs /protocol:SOAP
    it give following errors
    Error: Unable to import binding 'ModelEntitySoapBinding' from namespace 'http://
    teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity'.
    - Unable to import operation 'getListOfClasses'.
    - The datatype 'http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelE
    ntity:GetListOfClassesInputParams' is missing.
    my wsdl is
    ModelEntityService.wsdl
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    targetNamespace="http://teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"
    xmlns:imp0="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    xmlns:imp1="http://teamcenter.com/webservices/2005-06/schemas/WSFaults"
    xmlns:tns="http://teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity">
    <wsdl:documentation>
    The service provides Model Entity related operation.
    </wsdl:documentation>
    <wsdl:types>
    <xs:schema>
    <xs:import namespace="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity" schemaLocation="ModelEntity.xsd" />
    <xs:import namespace="http://teamcenter.com/webservices/2005-06/schemas/WSFaults" schemaLocation="WSFaults.xsd" />
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="PresentationTierFault">
    <wsdl:part name="ex0" element="imp1:RequestManangerFault" />
    </wsdl:message>
    <wsdl:message name="getListOfClassesRequest">
    <wsdl:part name="in0" element="imp0:GetListOfClassesInputParams" />
    </wsdl:message>
    <wsdl:message name="getListOfClassesResponse">
    <wsdl:part name="out" element="imp0:GetListOfClassesOutputParams" />
    </wsdl:message>
    <wsdl:message name="getCreateAttributesRequest">
    <wsdl:part name="in0" element="imp0:GetCreateAttributesInputParams" />
    </wsdl:message>
    <wsdl:message name="getCreateAttributesResponse">
    <wsdl:part name="out" element="imp0:GetCreateAttributesOutputParams" />
    </wsdl:message>
    <wsdl:message name="createModelEntityRequest">
    <wsdl:part name="in0" element="imp0:CreateModelEntityInputParams" />
    </wsdl:message>
    <wsdl:message name="createModelEntityResponse">
    <wsdl:part name="out" element="imp0:CreateModelEntityOutputParams" />
    </wsdl:message>
    <wsdl:message name="getValueSetForAttributeRequest">
    <wsdl:part name="in0" element="imp0:GetValueSetForAttributeInputParams" />
    </wsdl:message>
    <wsdl:message name="getValueSetForAttributeResponse">
    <wsdl:part name="out" element="imp0:GetValueSetForAttributeOutputParams" />
    </wsdl:message>
    <wsdl:portType name="ModelEntity">
    <wsdl:operation name="getListOfClasses">
    <wsdl:documentation>
    Gets List Of all ModelEntity Classes.
    </wsdl:documentation>
    <wsdl:input message="tns:getListOfClassesRequest" name="getListOfClassesRequest" />
    <wsdl:output message="tns:getListOfClassesResponse" name="getListOfClassesResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="getCreateAttributes">
    <wsdl:documentation>
    Gets ModelEntity Create Attributes.
    </wsdl:documentation>
    <wsdl:input message="tns:getCreateAttributesRequest" name="getCreateAttributesRequest" />
    <wsdl:output message="tns:getCreateAttributesResponse" name="getCreateAttributesResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="createModelEntity">
    <wsdl:documentation>
    Creates Model Entity.
    </wsdl:documentation>
    <wsdl:input message="tns:createModelEntityRequest" name="createModelEntityRequest" />
    <wsdl:output message="tns:createModelEntityResponse" name="createModelEntityResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="getValueSetForAttribute">
    <wsdl:documentation>
    Gets Value Set For Attribute.
    </wsdl:documentation>
    <wsdl:input message="tns:getValueSetForAttributeRequest" name="getValueSetForAttributeRequest" />
    <wsdl:output message="tns:getValueSetForAttributeResponse" name="getValueSetForAttributeResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ModelEntitySoapBinding" type="tns:ModelEntity">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getListOfClasses">
    <soap:operation style="document" soapAction="getListOfClasses" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getCreateAttributes">
    <soap:operation style="document" soapAction="getCreateAttributes" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="createModelEntity">
    <soap:operation style="document" soapAction="createModelEntity" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getValueSetForAttribute">
    <soap:operation style="document" soapAction="getValueSetForAttribute" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ModelEntityService">
    <wsdl:port binding="tns:ModelEntitySoapBinding" name="ModelEntity">
    <soap:address
    location="http://localhost:80/PTierApp/WebServices/ModelEntity" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    and xsd is ModelEntity.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    bcprt
    This software and related documentation are proprietary to UGS Corp.
    COPYRIGHT 2006 UGS CORP. ALL RIGHTS RESERVED
    ecprt
    -->
    <xsd:schema targetNamespace="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsc="http://teamcenter.com/TCENT/webservices/2005-06/schemas/Common"
    xmlns:wlt="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    <!-- ================================================================== -->
    <!-- Package: ModelEntity -->
    <!-- ================================================================== -->
    <xsd:annotation>
    <xsd:documentation>
    The ModelEntity package defines elements and data types
    for the parameters used by operations/messages of the ModelEntity Web Service.
    </xsd:documentation>
    </xsd:annotation>
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity List Of Classes: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetListOfClassesInputParams"
    type="wlt:GetListOfClassesInputType"/>
    <xsd:complexType name="GetListOfClassesInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity List Of Classes : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity List Of Classes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetListOfClassesOutputParams"
    type="wlt:GetListOfClassesOutputType"/>
    <xsd:complexType name="GetListOfClassesOutputType">
    <xsd:sequence>
    <xsd:element name="ClassList" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Classes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Create Attributes: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetCreateAttributesInputParams"
    type="wlt:GetCreateAttributesInputType"/>
    <xsd:complexType name="GetCreateAttributesInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ClassName" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Create Attributes : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Create Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetCreateAttributesOutputParams"
    type="wlt:GetCreateAttributesOutputType"/>
    <xsd:complexType name="GetCreateAttributesOutputType">
    <xsd:sequence>
    <xsd:element name="Attributes" type="wlt:ModelEntityCreateAttributes"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Create Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Value Set For Attribute: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetValueSetForAttributeInputParams"
    type="wlt:GetValueSetForAttributeInputType"/>
    <xsd:complexType name="GetValueSetForAttributeInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Attribute" type="xsd:string"/>
    <!-- optional criteria -->
    <xsd:element name="Criteria" type="wlt:ModelEntityNameValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <!-- optional class name -->
    <xsd:element name="ClassName" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Value Set For Attribute : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Value Set For Attribute : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetValueSetForAttributeOutputParams"
    type="wlt:GetValueSetForAttributeOutputType"/>
    <xsd:complexType name="GetValueSetForAttributeOutputType">
    <xsd:sequence>
    <xsd:element name="StaticValues" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Value Set For Attribute : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Create Model Entity : INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="CreateModelEntityInputParams"
    type="wlt:CreateModelEntityInputType"/>
    <xsd:complexType name="CreateModelEntityInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ClassName" type="xsd:string"/>
    <xsd:element name="Attributes" type="wlt:ModelEntityNameValuePair"
    maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Create Model Entity : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="CreateModelEntityOutputParams"
    type="wlt:CreateModelEntityOutputType"/>
    <xsd:complexType name="CreateModelEntityOutputType">
    <xsd:sequence>
    <xsd:element name="ObjectHandle" type="xsd:string"/>
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Create Model Entity Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:complexType name="ModelEntityCreateAttributes">
    <xsd:sequence>
    <xsd:element name="DisplayedName" type="xsd:string"/>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="StaticValues" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="IsRequired" type="xsd:boolean"/>
    <xsd:element name="HasValueSet" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Model Entity Pairs : INPUT/OUTPUT -->
    <!-- ================================================================== -->
    <xsd:complexType name="ModelEntityNameValuePair">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="Value" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ModelEntityValueDisplayedValuePair">
    <xsd:sequence>
    <xsd:element name="Value" type="xsd:string"/>
    <xsd:element name="DisplayedValue" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Model Entity Pairs : INPUT/OUTPUT -->
    <!-- ================================================================== -->
    </xsd:schema>

    check metalink note
    Adpatch Fails With Error : adogjf() Unable to copy Registry.Dat.
    Note:282153.1
    also check (Adogjf() Unable To Copy Registry.Dat).
    Note:382695.1 about the correct on the $806_ORACLE_HOME/forms60/java where it should be 755
    make sure that you soruce the env fiel before adpatch and that ORACLE_HOME is poinitng to the correct oracle_home
    fadi

  • How to generate java file from WSDL file

    Hi friends,
    I am new to this thing, so that's why I need some guidence .
    I need to generate java file programatically from existing wsdl file.
    I thought the ways - to use xmlbeans apache library or jaxb.
    Can you suggest what will be better way to generate java file from wsdl? can you please be more descriptive and can you direct me to appropriate link?
    Thanks.
    Harshit

    xmlbeans apache provides easiest way to create java file from wsdl there is very good link for that
    http://www.ibm.com/developerworks/webservices/library/ws-soa-clientxmlbeans.html
    If you want more programmatic approach then Jaxb will be a better option

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • Problems with WSDL file from Webservice definition

    Hi all,
    I trying to import into XI the WSDL file from a web service. I´m doing it following the blog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    But I do not why but it is not creating the messages.
    Any Idea,
    Many thanks and Regards
    Noelia

    Hi thnaks for your help!!
    this is the wsdl file. I think this is correct,but i´m not very familiar with this!
    <?xml version="1.0" encoding="utf-8"?>
    <!--            Generated by WSDLDefinitionsParser    --><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="urn:WS_ExtraccionNombramientoVi" targetNamespace="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document" xmlns:tns="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document">
      <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_ExtraccionNombramientoVi" xmlns:tns="urn:WS_ExtraccionNombramientoVi" elementFormDefault="qualified">
          <xs:element name="ejecutarExtraccionNS">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="fechaExplotacion" type="xs:string" nillable="true"/>
                <xs:element name="tipoXML" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="ejecutarExtraccionNSResponse">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Response" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:schema>
      </wsdl:types>
      <wsdl:message name="ejecutarExtraccionNSIn_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNS"/>
      </wsdl:message>
      <wsdl:message name="ejecutarExtraccionNSOut_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNSResponse"/>
      </wsdl:message>
      <wsdl:portType name="WS_ExtraccionNombramientoVi_Document">
        <wsdl:operation name="ejecutarExtraccionNS">
          <wsdl:input message="tns:ejecutarExtraccionNSIn_doc"/>
          <wsdl:output message="tns:ejecutarExtraccionNSOut_doc"/>
        </wsdl:operation>
      </wsdl:portType>
    </wsdl:definitions>
    Regards Noelia

  • Tools for generating WSDL file

    I have created one Java Web Service in Apache Soap. Now I want to create the WSDL file so that my clients will
    come to know what is my Web Service about. But I am not able to find any tool which will automatically generate
    the WSDL file from the Java Class since my Web Service is purely written in Java. I came to know about GLUE but
    was not able to find the link from where I could download it. Can anybody help me to find such tools?

    I dont want to use Axis. Even Glue has the same command to generate the WSDL file from Java. Do you have any
    idea from where I could download Glue?

  • How to generate XML file from SQL file !

    I am new to XML publisher. I known one way to generate XML file is register one report file in concurrent manager.
    But I want to generate XML file from sql file.
    Could someone show me how to code in sql file, how to register is in concurrent manager.
    Thanks !

    Hi
    Phew ... not sure we have the space here. So I can point you in the right direction:
    1. XML data generation - there are two packages in the db you can use with a plsql procedure, XMLGEN and SQL XML. You can also use java APIs too. Try checking the db documentation and search for the above methods.
    2. Registering the report - the system administrators guide will provide this info. Hooking the program up with XMLP is covered here - http://www.oracle.com/technology/products/applications/publishing/resource/CM%20Whitepaper5.0.pdf
    Regards, Tim

  • How to generate MT files from Oracle EBS Payables

    Hi, does anyone has experience in generating MT files from Oracle Payables?
    All contributions are welcome...

    Hi,
    are you talking about MT-940 format files? If so, what is the use case behind this issue?
    I created a custom loader process to upload MT-940 bank statements into Cash Management
    some time ago, but as far as i understood your question, you want to create those files based
    on payables data?
    Regards

  • Failed to read wsdl file from url

    Hi all,
    I am struggling with WL 9.2, consuming a WSRP enabled portlet at the following point:
    Having created a proxy portlet, refering to the WSDL of the WSRP producer, I did successfully deploy the portal. When accessing the portal and consuming the portlet the following exception is thrown:
    com.bea.wsrp.faults.TransportException: Failed to read wsdl file from url due to -- java.net.ConnectException: Tried all: '8' addresses, but could not connect over HTTP to server: 'www.w3.org', port: '80';
    The WSDL includes a schema (http://www.w3.org/2001/XMLSchema). The URL is definetely accessible by the server.
    I am open for any kind of support ;) Thanks in advance!
    Kind regards,
    Matthias

    Yes, they are all local schemas. The way ALSB works, even if the import path in the wsdl or parent schema doesn't exist, relative to the current directory, you can specify which schema resolves that reference. My WSDL imports several schemas, all of which import others. When I was done importing all the schemas and resolving references, all the references in WSDLs and XSDs were assigned and valid. However, after all of those imports and reference resolution, it still says the WSDL is invalid, with the following odd error message:
    The WSDL is not semantically valid: Failed to read wsdl file from url due to -- java.net.MalformedURLException: no protocol: /XMLSchema/PaymentServices/Resources/PaymentServices-200802.
    That path listed refers to one of the schemas imported by the WSDL. The reference to that schema in the WSDL was resolved, and it doesn't complain about that reference.

  • Generate pdf file from 9i reports and save it in C:\oracle_reports\

    i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
    c:\oracle_reports\
    right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
    i want all the work done automatically.
    regards
    ------------ source code--------------
    PROCEDURE PRINT_PROC IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    pl_id ParamList;
    report_path varchar2(100);
    aud_sno varchar2(1000);
    aud_type varchar2(500);
    BEGIN
         pl_id := Get_Parameter_List('report_data');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('report_data');
         User parameters : Customize these to fit your report
         report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
    -- Initialize your report parameters here
         Add_Parameter(pl_id, 'p_cmp_code'                     , TEXT_PARAMETER, :global.company_code);
         Add_Parameter(pl_id, 'p_rfq_sno'                     , TEXT_PARAMETER, :document_sno);
         Add_Parameter(pl_id, 'P_PATH'                               , TEXT_PARAMETER, REPORT_PATH);
    Standard parameters: Don't change
         Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
         -- end standard parameters
         repid := find_report_object('REPORT_OBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
         v_rep := RUN_REPORT_OBJECT(repid,pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(v_rep);
         END LOOP;
    END;

    If you use rwclient you could that easily, from a Form, it requires additional steps.
    Look at this thread Re: save report

  • Error while Generating PDF file from Datagridview .

    Hi every one,
         I'm trying to generate pdf file from datagridview,while executing my code getting nullvalue exception..
    Here is my code:
    private void btnexportPDF_Click(object sender, EventArgs e)
                //Creating iTextSharp Table from the DataTable data
                PdfPTable pdfTable = new PdfPTable(dataGridView1.ColumnCount);
                pdfTable.DefaultCell.Padding = 3;
                pdfTable.WidthPercentage = 30;
                pdfTable.HorizontalAlignment = Element.ALIGN_LEFT;
                pdfTable.DefaultCell.BorderWidth = 1;
                //Adding Header row
                foreach (DataGridViewColumn column in dataGridView1.Columns)
                    PdfPCell cell = new PdfPCell(new Phrase(column.HeaderText));
                    cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
                    pdfTable.AddCell(cell);
                //Adding DataRow
                foreach (DataGridViewRow row in dataGridView1.Rows)
                    foreach (DataGridViewCell cell in row.Cells)
                        pdfTable.AddCell(cell.Value.ToString());//nullvalue exception
                //Exporting to PDF
                string folderPath = "C:\\PDFs\\";
                if (!Directory.Exists(folderPath))
                    Directory.CreateDirectory(folderPath);
                using (FileStream stream = new FileStream(folderPath + "DataGridViewExport.pdf", FileMode.Create))
                    Document pdfDoc = new Document(PageSize.A2, 10f, 10f, 10f, 0f);
                    PdfWriter.GetInstance(pdfDoc, stream);
                    pdfDoc.Open();
                    pdfDoc.Add(pdfTable);
                    pdfDoc.Close();
                    stream.Close();
    Thanks & Regards RAJENDRAN M

    Hi Rajendran,
    The second question is about the usage of iTextSharp library, which is not a MS product, please post in their forum for help:
    http://support.itextpdf.com/forum
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Generating XML file from WORD file

    hello
    Everyboby.
    I am trying to generate xml file from a word file.
    but i am stucked with how to do it? any kind of help will be useful.
    i think for doing this work i have to develop XSD file, because when i am creating the xml file, the hidden space within the word file is not catched.
    please help me out.
    waiting for reply
    thanks
    milind

    hello
    after searching on the net i came to know that org.apache.poi.hwpf.* is used for reading word file and its contents. for converting it to xml i have to use org.exolab.castor.xml.*
    now my problem is that POI is in its early beta version and there is no help or any sample examples for understanding the api.
    so if you have any idea regarding it, please write to me.
    waiting for your reply.
    thanks
    Milind

Maybe you are looking for