Xrpcc: Generate stub from existing WSDL

Hi, I have an error when generating stub from existing WSDL using xrpcc tool.
Anyone know what is the problem? Thanks!
The error message:
warning: ignoring operation "registration": more than one part in input message
warning: ignoring operation "checkRegistration": more than one part in input message
warning: Port "AccountManagementService" does not contain any usable operations
warning: ignoring operation "registration": more than one part in input message
warning: ignoring operation "checkRegistration": more than one part in input message
warning: Port "AccountManagementService" does not contain any usable operations
Note: sun.tools.javac.Main has been deprecated.
1 warning
The WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name="serverone.paymentofgovbill.service.useraccount.AccountManagementService"
targetNamespace="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementService"
xmlns:map="http://systinet.com/mapping/"
xmlns:ns0="http://systinet.com/xsd/SchemaTypes/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema targetNamespace="http://systinet.com/xsd/SchemaTypes/"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://systinet.com/xsd/SchemaTypes/"
xmlns:map="http://systinet.com/mapping/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:ns0="http://systinet.com/xsd/SchemaTypes/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<xsd:element name="p0" type="xsd:string" nillable="true"/>
<xsd:element name="p1" type="xsd:string" nillable="true"/>
<xsd:element name="string_Response" type="xsd:string"
nillable="true"/>
<xsd:element name="int_Response" type="xsd:int"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="AccountManagementService_registration_1_Request">
<wsdl:part name="p0" element="ns0:p0"/>
<wsdl:part name="p1" element="ns0:p1"/>
</wsdl:message>
<wsdl:message name="AccountManagementService_checkRegistration_1_Request">
<wsdl:part name="p0" element="ns0:p0"/>
<wsdl:part name="p1" element="ns0:p1"/>
</wsdl:message>
<wsdl:message name="AccountManagementService_checkRegistration_Response">
<wsdl:part name="response" element="ns0:int_Response"/>
</wsdl:message>
<wsdl:message name="AccountManagementService_registration_Response">
<wsdl:part name="response" element="ns0:string_Response"/>
</wsdl:message>
<wsdl:portType name="AccountManagementService">
<wsdl:operation name="registration" parameterOrder="p0 p1">
<wsdl:input
message="tns:AccountManagementService_registration_1_Request"/>
<wsdl:output
message="tns:AccountManagementService_registration_Response"/>
</wsdl:operation>
<wsdl:operation name="checkRegistration" parameterOrder="p0 p1">
<wsdl:input
message="tns:AccountManagementService_checkRegistration_1_Request"/>
<wsdl:output
message="tns:AccountManagementService_checkRegistration_Response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AccountManagementService"
type="tns:AccountManagementService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
<wsdl:operation name="registration">
<map:java-operation name="registration"
signature="KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL1N0cmluZzs="/>
<soap:operation
soapAction="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementServiceAccountManagementService#registration#KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL1N0cmluZzs="
style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="checkRegistration">
<map:java-operation name="checkRegistration"
signature="KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylJ"/>
<soap:operation
soapAction="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementServiceAccountManagementService#checkRegistration#KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylJ"
style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AccountManagementService">
<wsdl:port name="AccountManagementService"
binding="tns:AccountManagementService">
<soap:address
location="http://localhost:6060/AccountManagementService/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

The JAXRPC spec. section 6.2 states:
"All message parts (either parameter or return value) appear inside a single wrapper element, which is the first child element of the SOAP Body element." For this to work with Doc/literal operations, all messages can contain only a single part.

Similar Messages

  • Xrpcc: Generate stub from WSDL

    Hi,
    I created a JAX-RPC based web services and used xrpcc tool to generate the server-side classes and wsdl file. And then deployed them on tomcat successfully.
    To access the web service, the remote client needs to get the wsdl document (in this case, i used the one generated by the xrpcc tool on the service side) and generate the client-side stub and other classes.
    However, i got an error message when trying to generate the stub:
    error: modeler error: invalid entity name: "PriceQuote" (in namespace: "http://www.w3.org/2001/XMLSchema")
    The wsdl document looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="TestService" targetNamespace="http://www.deitel.com/test.wsdl" xmlns:tns="http://www.deitel.com/test.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <message name="getPrice">
    <part name="String_1" type="xsd:string"/></message>
    <message name="getPriceResponse">
    <part name="result" type="xsd:PriceQuote"/></message>
    <portType name="Test">
    <operation name="getPrice">
    <input message="tns:getPrice"/>
    <output message="tns:getPriceResponse"/></operation></portType>
    <binding name="TestBinding" type="tns:Test">
    <operation name="getPrice">
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://www.deitel.com/test.wsdl"/></input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://www.deitel.com/test.wsdl"/></output>
    <soap:operation soapAction=""/></operation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/></binding>
    <service name="TestService">
    <port name="TestPort" binding="tns:TestBinding">
    <soap:address location="http://zhang:8080/jaxrpc-test/test/endpoint/Test"/></port></service></definitions>
    I noticed that the error is caused by PriceQuote data type. Then I added PriceQuote data type definition to the wsdl file.
    <types>
    <xsd:schema
    targetNamespace="http://www.deitel.com/schema"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="PriceQuote">
    <xsd:sequence>
    <xsd:element name="price" type="xsd:double"/>
    <xsd:element name="ISBN" type="xsd:string"/>
    <xsd:element name="storeID" type="xsd:int"/>
    <xsd:element name="storeDescription" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getPrice">
    <part name="String_1" type="xsd:string"/></message>
    <message name="getPriceResponse">
    <part name="result" type="xsd1:PriceQuote"/></message>
    The xrpcc tool then can generate the client-side stub and classes without any problems. However, when the client is executed, I got the following error message:
    java.rmi.RemoteException: deserialization error: deserialization error: deserial
    ization error: deserialization error: unexpected element type: expected={http://
    www.deitel.com/schema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}Price
    Quote; nested exception is:
    deserialization error: deserialization error: deserialization error: des
    erialization error: unexpected element type: expected={http://www.deitel.com/sch
    ema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}PriceQuote
    deserialization error: deserialization error: deserialization error: deserialization error: unexpected element type: expected={http://www.deitel.com/schema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}PriceQuote
    at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiR
    efObjects(SOAPDeserializationContext.java:107)
    at com.sun.xml.rpc.client.StreamingSender._sendStreamingSender.java:159)
    at test.TestPort_Stub.getPrice(Unknown Source)
    Any suggestions?
    Thanks in advance,
    Su

    Su,
    I have been having same problem you have experimented. I did not quite understand the change you made exactly. Can you please help.
    Thanks
    Sam
    <?xml version="1.0"?>
    <definitions
    name="stockquote"
    targetNamespace="http://quote.com/stockquote.wsdl"
    xmlns:tns="http://quote.com/stockquote.wsdl"
    xmlns:xsd1="http://quote.com/stockquote.xsd"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="http://quote.com/stockquote.xsd"
    xmlns="http://www.w3.org/2000/10/XMLSchema">
    <element name="TradePriceRequest">
    <complexType>
    <all>
    <element name="tickerSymbol" type="string"/>
    </all>
    </complexType>
    </element>
    <element name="TradePrice">
    <complexType>
    <all>
    <element name="price" type="float"/>
    </all>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="GetLastTradePriceInput">
    <part name="body" element="xsd1:TradePriceRequest"/>
    </message>
    <message name="GetLastTradePriceOutput">
    <part name="body" element="xsd1:TradePrice"/>
    </message>
    <portType name="StockQuotePortType">
    <operation name="GetLastTradePrice">
    <input message="tns:GetLastTradePriceInput"/>
    <output message="tns:GetLastTradePriceOutput"/>
    </operation>
    </portType>
    <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetLastTradePrice">
    <soap:operation soapAction="http://quote.com/GetLastTradePrice"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="StockQuoteService">
    <documentation>My first service</documentation>
    <port name="StockQuotePort" binding="tns:StockQuoteBinding">
    <soap:address location="http://quote.com/stockquote"/>
    </port>
    </service>
    </definitions>
    Hi Todor,
    I found out what caused the problem: I used
    "http://www.w3.org/2001/XMLSchema" as the
    typeNameSpace in the configuration file that is passed
    into the xrpcc tool when generates the wsdl document.
    Once I changed it to something else, everything works
    fine.
    Thanks,
    Su

  • How to generate doc/lit/wrapped services from existing wsdl?

    Hello,
    I am using workshop 10.1 to generate webservices from existing wsdl files from workshop 8.1. The existings webservices are based on an xmlbean utility project.
    When I generate the webservice from the existing wsdl file it generates automatically services with doc/lit/bare operations. I found in the known issues that this combination is not supported in combination with xmlbeans.
    See: CR283457
    XBeans are not supported as parameters or return type for doc/lit/bare operations.
    Use of Xbeans as a parameter or return type with doc/lit/bare bindings is not supported in operations or callbacks and will result in a failure during deployment.
    Platform: All
    Workaround: Use doc/lit/wrapped for services that use XBeans as parameters or return types.
    The workaround state to use doc/lit/wrapped for services. My questions is how to do that since workshop has all control over the generation of the webservices? ?:|
    Thanks in advance,
    Martijn Baels
    Software Architect
    www.leanapps.com

    Hi Martijn
    If you do generate web service from the wsdl on a 9.2 project, it always uses jax-rpc types and there's no xmlbeans involved.
    If the wsdl is in the schemas folder and the xmlbeans builder is on, then you also have xmlbeans types created by the builder they aren't being used by the web service. You will still have problems, because some of the xmlbeans types may conflict with the jax-rpc types.
    so when we generate webservice from a wsdl it will never use xmlbeans type, even if the xml builder is on, because WLS doesn't support start from wsdl with xmlbeans types.
    Can you please attach the wsdl and the steps so I can replicate and see the issue?
    Thanks
    Vimala

  • How to Create WebService (the Server, not Client) from existing WSDL

    Does anyone have any suggestions on how to create a WebService from existing WSDL.  I have been asked to implement a WebService (the Server) based on WSDL from a standards based consortium.  I have created several WebServices in the past and the generated WSDL under my control.  Does Axis WebServices generate WebService service stub Java code?

    Hai
      you can create stubs for AXis webservices also
      for help use the following link
    http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page1

  • SAXException while generating stubs from WSDL

    Hi Friends
    i am stuck in a problem for which i need your help.
    i am using the Axis wsdl2java tool to generate the client side stub classes.
    the wsdl which i was using was referring to the port http://localhost/hth/services/Client?wsdl
    i was running the wsdl2java tool on this wsdl to generate stubs. it was working fine.
    Now i have removed the client.wsdl from the default localhost port and
    want to keep it in some location like D:\wsdl\Client.wsdl so that i don't need to depend on the Application server everytime for the wsdl to be up all the time.
    when i run the wsdl2java command on this location i get the following error.
    org.xml.sax.SAXException: Fatal Error: URI=file:///D:/wsdl/Client.wsdl Line=1: The processing instruction target matching "[xX][mM][lL]" is not allowed.
         at org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.java:723)
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:218)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPIData(XMLScanner.java:689)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanPIData(XMLDocumentFragmentScannerImpl.java:750)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPI(XMLScanner.java:664)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:845)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
         at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
         at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
         at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
         at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         at java.lang.Thread.run(Thread.java:595)
    Please let me know what is the problem here and how can i resolve this issue.
    here is bit of the sample client.wsdl
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="D:\wsdl\Client.wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="D:\wsdl\Client.wsdl" xmlns:intf="D:\wsdl\Client.wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="D:\wsdl\Client.wsdl" xmlns:tns2="http://client.hth.march.com" xmlns:tns3="http://exception.hth.march.com" xmlns:tns4="http://equipment.hth.march.com" xmlns:tns5="http://equipment.ws.hth.march.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <!--
    WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)
    -->
    - <wsdl:types>
    - <schema targetNamespace="D:\wsdl\Client.wsdl" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://equipment.ws.hth.march.com" />
    <import namespace="http://xml.apache.org/xml-soap" />
    <import namespace="http://exception.hth.march.com" />
    <import namespace="http://client.hth.march.com" />
    <import namespace="http://equipment.hth.march.com" />
    <import namespace="http://localhost/hth/services/Client" />
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="HTHBaseDTO">
    - <sequence>
    <element name="md5Sum" nillable="true" type="xsd:string" />
    <element name="primaryKey" nillable="true" type="xsd:integer" />
    </sequence>
    </complexType>
    - <complexType name="VitalThresholdEnum">
    - <sequence>
    <element name="labelKey" nillable="true" type="xsd:string" />
    <element name="pk" nillable="true" type="xsd:short" />
    </sequence>
    </complexType>
    - <complexType name="VitalThresholdDTO">
    - <complexContent>
    - <extension base="tns1:HTHBaseDTO">
    - <sequence>
    <element name="categoryPk" nillable="true" type="xsd:short" />
    <element name="clientCarePlanPk" nillable="true" type="xsd:long" />
    <element name="clientPk" nillable="true" type="xsd:integer" />
    <element name="clientVitalPrescriptionPk" nillable="true" type="xsd:integer" />
    <element name="statusPk" nillable="true" type="xsd:short" />
    <element name="syncStatusPk" nillable="true" type="xsd:short" />
    <element name="thresholdType" nillable="true" type="tns1:VitalThresholdEnum" />
    <element name="thresholdValue" nillable="true" type="xsd:double" />
    <element name="unitTy
    hoping for positive replies from your side.
    Thanks & regards
    Vikram K

    So what was the problem? I am getting:
    error: invalid element "{http://java.sun.com/jax-rpc-ri/xrpcc-config}configuration" in configuration file (line 3)
    and I copied my config.xml from an example on xrpcc site!

  • WSImport-Error generating server code from existing wsdl ends in ERROR

    Hi,
    we have an existing wsdl, and need to change the Server Env. I am evaluating JAX-WS and WSImport, and it seems to be cool, but i have a Problem similar to this thread here:
    http://forum.java.sun.com/thread.jspa?threadID=739918&messageID=4245176
    I solved all JAXB Issues, but this error drives me crazy. All Types from XSD and WSDL are generated if i switch to extension="true". In my Opinion the message parts refer to schema types, i cant figure out, whats wronh there.
    [wsimport] parsing WSDL...
    [wsimport] [WARNING] cos-applicable-facets: Facet 'totalDigits' is not allowed by type Kontonummer.
    [wsimport] line 140 of file:/C:/Projekte/irech/dd/WebContent/customization/xsd/de/bankverlag/b2b/common.xsd
    [wsimport] [ERROR] Invalid wsdl:operation "init": its a rpc-literal operation, message part must refer to a schema type declaration
    [wsimport] line 101 of file:/C:/Projekte/irech/dd/WebContent/customization/NachfrageErstellung.wsdl
    wsdl:
    <?xml version='1.0'?>
    <wsdl:definitions name='foo' targetNamespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/'
    xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
    xmlns:tns='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/'
    xmlns:ns0='http://systinet.com/xsd/SchemaTypes/'
    xmlns:xns9="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/schecknachfrage/erstellen.xsd"
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:map='http://systinet.com/mapping/'>
    <wsdl:types>
    <xsd:schema elementFormDefault="qualified"
    targetNamespace="http://systinet.com/wsdl/org/idoox/webservice/server/"
    xmlns:map="http://systinet.com/mapping/"
    xmlns:tns="http://systinet.com/wsdl/org/idoox/webservice/server/"
    xmlns:xns5="http://systinet.com/containers/literal/ms.net"
    xmlns:xns6="http://systinet.com/wsdl/org/idoox/config/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://systinet.com/wsdl/org/idoox/config/" schemaLocation="xsd/idoox.xsd"/>
    <xsd:import namespace="http://systinet.com/containers/literal/ms.net" schemaLocation="http://systinet.com/containers/literal/ms.net"/>
    <xsd:complexType name="WebServiceContext">
    <xsd:annotation>
    <xsd:appinfo>
    <map:java-type name="org.idoox.webservice.server.WebServiceContext"/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="contextData" nillable="true" type="xns5:Map"/>
    <xsd:element name="contextId" nillable="true" type="xsd:string"/>
    <xsd:element name="lifeCycleService" nillable="true" type="tns:LifeCycleService"/>
    <xsd:element name="rootPath" nillable="true" type="xsd:string"/>
    <xsd:element name="serviceConfigurable" nillable="true" type="xns6:Configurable"/>
    <xsd:element name="serviceInstanceConfigurable" nillable="true" type="xns6:Configurable"/>
    <xsd:element name="serviceInstanceName" nillable="true" type="xsd:string"/>
    <xsd:element name="serviceName" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="LifeCycleService">
    <xsd:annotation>
    <xsd:appinfo>
    <map:java-type name="org.idoox.webservice.server.LifeCycleService"/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:schema>
    <xsd:schema elementFormDefault="qualified" targetNamespace="http://systinet.com/xsd/SchemaTypes/"
    xmlns:tns="http://systinet.com/xsd/SchemaTypes/"
    xmlns:xns4="http://systinet.com/wsdl/org/idoox/webservice/server/"
    xmlns:xns5="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/common.xsd"
    xmlns:xns6="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/ueberweisungsnachfrage/erstellen.xsd"
    xmlns:xns7="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/common.xsd"
    xmlns:xns8="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/lastschriftnachfrage/erstellen.xsd"
    xmlns:xns9="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/schecknachfrage/erstellen.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/schecknachfrage/erstellen.xsd"/>
    <xsd:import namespace="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/lastschriftnachfrage/erstellen.xsd"/>
    <xsd:import namespace="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/common.xsd"/>
    <xsd:import namespace="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/nachfrage/ueberweisungsnachfrage/erstellen.xsd"/>
    <xsd:import namespace="https://test.irecherche.org/xsd/irecherche/de/bankverlag/b2b/common.xsd"/>
    <xsd:import namespace="http://systinet.com/wsdl/org/idoox/webservice/server/"/>
    <xsd:element name="p0" nillable="true" type="xns4:WebServiceContext"/>
    <xsd:element name="p0_1" nillable="true" type="xns5:UserContext"/>
    <xsd:element name="p1" nillable="true" type="xns6:UeberweisungsnachfrageErstellungsformular"/>
    <xsd:element name="NachfrageErstellungResult_Response" nillable="true" type="xns7:NachfrageErstellungResult"/>
    <xsd:element name="p0_2" nillable="true" type="xns5:UserContext"/>
    <xsd:element name="p1_3" nillable="true" type="xns8:LastschriftnachfrageErstellungsformular"/>
    <xsd:element name="p0_4" nillable="true" type="xns5:UserContext"/>
    <xsd:element name="p1_5" nillable="true" type="xns9:SchecknachfrageErstellungsformular"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name='NachfrageErstellung_erstelleSchecknachfrage_1_Request'>
    <wsdl:part name='p0' element='ns0:p0'/>
    <wsdl:part name='p1' element='ns0:p1_5'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_init_1_Request'>
    <wsdl:part name='p0' element='ns0:p0'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_destroy_1_Request'/>
    <wsdl:message name='NachfrageErstellung_erstelleLastschriftnachfrage_Response'>
    <wsdl:part name='response' element='ns0:NachfrageErstellungResult_Response'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_erstelleLastschriftnachfrage_1_Request'>
    <wsdl:part name='p0' element='ns0:p0_2'/>
    <wsdl:part name='p1' element='ns0:p1_3'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_erstelleUeberweisungsnachfrage_Response'>
    <wsdl:part name='response' element='ns0:NachfrageErstellungResult_Response'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_erstelleUeberweisungsnachfrage_1_Request'>
    <wsdl:part name='p0' element='ns0:p0_1'/>
    <wsdl:part name='p1' element='ns0:p1'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_destroy_Response'/>
    <wsdl:message name='NachfrageErstellung_erstelleSchecknachfrage_Response'>
    <wsdl:part name='response' element='ns0:NachfrageErstellungResult_Response'/>
    </wsdl:message>
    <wsdl:message name='NachfrageErstellung_init_Response'/>
    <wsdl:portType name='NachfrageErstellung'>
    <wsdl:operation name='init' parameterOrder='p0'>
    <wsdl:input message='tns:NachfrageErstellung_init_1_Request'/>
    <wsdl:output message='tns:NachfrageErstellung_init_Response'/>
    </wsdl:operation>
    <wsdl:operation name='destroy'>
    <wsdl:input message='tns:NachfrageErstellung_destroy_1_Request'/>
    <wsdl:output message='tns:NachfrageErstellung_destroy_Response'/>
    </wsdl:operation>
    <wsdl:operation name='erstelleUeberweisungsnachfrage' parameterOrder='p0 p1'>
    <wsdl:input message='tns:NachfrageErstellung_erstelleUeberweisungsnachfrage_1_Request'/>
    <wsdl:output message='tns:NachfrageErstellung_erstelleUeberweisungsnachfrage_Response'/>
    </wsdl:operation>
    <wsdl:operation name='erstelleLastschriftnachfrage' parameterOrder='p0 p1'>
    <wsdl:input message='tns:NachfrageErstellung_erstelleLastschriftnachfrage_1_Request'/>
    <wsdl:output message='tns:NachfrageErstellung_erstelleLastschriftnachfrage_Response'/>
    </wsdl:operation>
    <wsdl:operation name='erstelleSchecknachfrage' parameterOrder='p0 p1'>
    <wsdl:input message='tns:NachfrageErstellung_erstelleSchecknachfrage_1_Request'/>
    <wsdl:output message='tns:NachfrageErstellung_erstelleSchecknachfrage_Response'/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name='NachfrageErstellung' type='tns:NachfrageErstellung'>
    <soap:binding transport='http://schemas.xmlsoap.org/soap/http' style='rpc'/>
    <wsdl:operation name='init'>
    <map:java-operation name='init' signature='KExvcmcvaWRvb3gvd2Vic2VydmljZS9zZXJ2ZXIvV2ViU2VydmljZUNvbnRleHQ7KVY='/>
    <soap:operation soapAction='' style='rpc'/>
    <wsdl:input>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#init#KExvcmcvaWRvb3gvd2Vic2VydmljZS9zZXJ2ZXIvV2ViU2VydmljZUNvbnRleHQ7KVY='/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#init#KExvcmcvaWRvb3gvd2Vic2VydmljZS9zZXJ2ZXIvV2ViU2VydmljZUNvbnRleHQ7KVY='/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name='destroy'>
    <map:java-operation name='destroy' signature='KClW'/>
    <soap:operation soapAction='' style='rpc'/>
    <wsdl:input>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#destroy#KClW'/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#destroy#KClW'/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name='erstelleUeberweisungsnachfrage'>
    <map:java-operation name='erstelleUeberweisungsnachfrage' signature='KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2UvZXJzdGVsbGVuL1VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2VFcnN0ZWxsdW5nc2Zvcm11bGFyOylMZGUvYmFua3ZlcmxhZy9pcmVjaGVyY2hlL2J1c2luZXNzL3NoYXJlZC9iMmIvZ2VuZXJhdGVkL25hY2hmcmFnZS9jb21tb24vTmFjaGZyYWdlRXJzdGVsbHVuZ1Jlc3VsdDs='/>
    <soap:operation soapAction='' style='rpc'/>
    <wsdl:input>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleUeberweisungsnachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2UvZXJzdGVsbGVuL1VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2VFcnN0ZWxsdW5nc2Zvcm11bGFyOylMZGUvYmFua3ZlcmxhZy9pcmVjaGVyY2hlL2J1c2luZXNzL3NoYXJlZC9iMmIvZ2VuZXJhdGVkL25hY2hmcmFnZS9jb21tb24vTmFjaGZyYWdlRXJzdGVsbHVuZ1Jlc3VsdDs='/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleUeberweisungsnachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2UvZXJzdGVsbGVuL1VlYmVyd2Vpc3VuZ3NuYWNoZnJhZ2VFcnN0ZWxsdW5nc2Zvcm11bGFyOylMZGUvYmFua3ZlcmxhZy9pcmVjaGVyY2hlL2J1c2luZXNzL3NoYXJlZC9iMmIvZ2VuZXJhdGVkL25hY2hmcmFnZS9jb21tb24vTmFjaGZyYWdlRXJzdGVsbHVuZ1Jlc3VsdDs='/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name='erstelleLastschriftnachfrage'>
    <map:java-operation name='erstelleLastschriftnachfrage' signature='KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2xhc3RzY2hyaWZ0bmFjaGZyYWdlL2Vyc3RlbGxlbi9MYXN0c2NocmlmdG5hY2hmcmFnZUVyc3RlbGx1bmdzZm9ybXVsYXI7KUxkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2NvbW1vbi9OYWNoZnJhZ2VFcnN0ZWxsdW5nUmVzdWx0Ow=='/>
    <soap:operation soapAction='' style='rpc'/>
    <wsdl:input>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleLastschriftnachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2xhc3RzY2hyaWZ0bmFjaGZyYWdlL2Vyc3RlbGxlbi9MYXN0c2NocmlmdG5hY2hmcmFnZUVyc3RlbGx1bmdzZm9ybXVsYXI7KUxkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2NvbW1vbi9OYWNoZnJhZ2VFcnN0ZWxsdW5nUmVzdWx0Ow=='/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleLastschriftnachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2xhc3RzY2hyaWZ0bmFjaGZyYWdlL2Vyc3RlbGxlbi9MYXN0c2NocmlmdG5hY2hmcmFnZUVyc3RlbGx1bmdzZm9ybXVsYXI7KUxkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL2NvbW1vbi9OYWNoZnJhZ2VFcnN0ZWxsdW5nUmVzdWx0Ow=='/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name='erstelleSchecknachfrage'>
    <map:java-operation name='erstelleSchecknachfrage' signature='KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3NjaGVja25hY2hmcmFnZS9lcnN0ZWxsZW4vU2NoZWNrbmFjaGZyYWdlRXJzdGVsbHVuZ3Nmb3JtdWxhcjspTGRlL2Jhbmt2ZXJsYWcvaXJlY2hlcmNoZS9idXNpbmVzcy9zaGFyZWQvYjJiL2dlbmVyYXRlZC9uYWNoZnJhZ2UvY29tbW9uL05hY2hmcmFnZUVyc3RlbGx1bmdSZXN1bHQ7'/>
    <soap:operation soapAction='' style='rpc'/>
    <wsdl:input>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleSchecknachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3NjaGVja25hY2hmcmFnZS9lcnN0ZWxsZW4vU2NoZWNrbmFjaGZyYWdlRXJzdGVsbHVuZ3Nmb3JtdWxhcjspTGRlL2Jhbmt2ZXJsYWcvaXJlY2hlcmNoZS9idXNpbmVzcy9zaGFyZWQvYjJiL2dlbmVyYXRlZC9uYWNoZnJhZ2UvY29tbW9uL05hY2hmcmFnZUVyc3RlbGx1bmdSZXN1bHQ7'/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use='literal' namespace='http://systinet.com/wsdl/de/bankverlag/irecherche/business/shared/b2b/services/waspinternal/NachfrageErstellung#erstelleSchecknachfrage#KExkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvY29tbW9uL1VzZXJDb250ZXh0O0xkZS9iYW5rdmVybGFnL2lyZWNoZXJjaGUvYnVzaW5lc3Mvc2hhcmVkL2IyYi9nZW5lcmF0ZWQvbmFjaGZyYWdlL3NjaGVja25hY2hmcmFnZS9lcnN0ZWxsZW4vU2NoZWNrbmFjaGZyYWdlRXJzdGVsbHVuZ3Nmb3JtdWxhcjspTGRlL2Jhbmt2ZXJsYWcvaXJlY2hlcmNoZS9idXNpbmVzcy9zaGFyZWQvYjJiL2dlbmVyYXRlZC9uYWNoZnJhZ2UvY29tbW9uL05hY2hmcmFnZUVyc3RlbGx1bmdSZXN1bHQ7'/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name='JavaService'>
    <wsdl:port name='NachfrageErstellung' binding='tns:NachfrageErstellung'>
    <soap:address location='urn:unknown-location-uri'/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    One can use Clientgen <binding> element to specify custom binding files.
    Here is a WLS workaround for the problem of unresolved xs:schema references in WSDL
    1. save XMLSchema.xsd and customization.xjb into a local directory called bindingDir,
    2. use the following script to gen clientside artifacts.
    <clientgen>
    <binding dir="bindingDir" includes="*">
    </clientgen>
    Thanks
    Bethune

  • WebService generation from existing WSDL file :(

    Hello,
    I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
    Here are my JDeveloper coordinates to give you the chance to follow up:
    - Studio Edition Version 11.1.1.1.0
    - Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Running JDeveloper in MacOSX:
    - Version 10.5.8
    - Build 9L31a
    Cheers,
    Chris
    *** ERROR STACK TRACE ***
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:637)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
         at $Proxy46.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
         ... 8 more
    Caused by: java.lang.NumberFormatException: For input string: "1 "
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
         at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
         at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
         at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
         at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
         ... 18 more

    Hello puthanampatti,
    that was exactly what I tried right now ;-)
    I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
    When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
    Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: !NLS Some Name
    Invoking command:
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command:
    Invoking command: New XML Schema
    Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
    Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Clear[ from oracle.ide.log.MessagePage ]
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
    Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.NullPointerException
      com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
      com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
      jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
      jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
      jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
      o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
      j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      j.a.Component.processMouseEvent(Component.java:6304)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
      j.a.Dialog$1.run(Dialog.java:1051)
      j.a.Dialog$3.run(Dialog.java:1103)
      j.security.AccessController.doPrivileged(Native Method)
      j.a.Dialog.show(Dialog.java:1101)
      j.a.Component.show(Component.java:1516)
      j.a.Component.setVisible(Component.java:1468)
      j.a.Window.setVisible(Window.java:841)
      j.a.Dialog.setVisible(Dialog.java:991)
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
      o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
      o.i.wizard.WizardManager$1.run(WizardManager.java:365)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager$2.run(WizardManager.java:373)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
      o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
      o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
      o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
      o.i.controller.IdeAction.performAction(IdeAction.java:524)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.AbstractButton.doClick(AbstractButton.java:389)
      jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
      com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
      jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
      j.a.Component.processMouseEvent(Component.java:6301)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
    Cheers,
    chris
    Edited by: Christoph E on Oct 19, 2009 4:30 PM

  • Creating web service from existing WSDL - why wsimport?

    Hi folks,
    I'm using Netbeans 6.0 to "Create a web service from an existing WSDL..".
    The problem is: it creates a new service with a NEW WSDL. I don't want it to do this, since I'm relying on a client to send a message conformant to the old WSDL. I'd noticed that in the jaxws-build.xml file, it's using wsimport instead of wsgen.
    Does anyone have any suggestions as to how I can tell Netbeans to create the service using the original WSDL (not generate a new one)? Do I have to use wsgen instead?

    If you are under support contract, could you file a support issue at
    http://support.bea.com/ and then post the case #? Thanks.
    br
    Jesper Goertz wrote:
    The test client in weblogic 9.2 seems to have a problem with more than one xml schema in the wsdl.
    It works for me in 9.2.1 after having copied the new test client file into a weblogic lib as described in the workshop 9.2.1 documentation of the test client.
    /Jesper

  • Generate PDF from existing flex app

    Hi all,
    Is there a way that i can generate a pdf file based on the
    existing flex application? For example, if i have a VBox called
    "my_vbox" and it contains some child elements, so how can i simply
    create a pdf that contains all my_vbox's content?
    Currently i only have a dummy solution that to print the
    template and use Acrobat Professional to convert it, e.g.
    var printJob:FlexPrintJob = new FlexPrintJob();
    if (printJob.start() != true) return;
    printJob.addObject(my_vbox, FlexPrintJobScaleType.SHOW_ALL);
    printJob.send();
    So is there a solution that as easy as this one to "print" my
    whole template into a pdf? I have tried AlivePDF but it doesn't
    support pdf creation from IUI component(s).
    Thanks in advance!

    Hi,
    Have you tried the addImage() method of AlivePDF? It takes a
    DisplayObject as input:
    public function addImage(pDisplayObject:DisplayObject,
    pAlpha:Number = 1, pBlend:String = "Normal", pMatrix:Matrix = null,
    pResizePage:Boolean = false, pEncoding:String = "JPG",
    pQuality:Number = 100, pX:Number = 0, pY:Number = 0, pWidth:Number
    = 0, pHeight:Number = 0, pLink:String = ""):void
    More info
    here

  • Generate client from secured WSDL URL

    I was playing arounf with the (excellent) Web Service Proxy generation wizard in JDeveloper.
    It works great but I did run into one annoying issue.
    When I try to enter an URL to a WSDL that will serve as the source for the proxy generation JDeveloper is not able to find it if the URL requires some form of authentication. In my example the service requires basic username/password authentication (and so does the ?WSDL).
    I can work around it by accessing the WSDL through my browser and storing it locally but I'd prefer to use the direct URL so that I can easily refresh it. Is there something I'm doing wrong?

    Thanks for the assistance, I've saved the WSDL locally and secured the proxy, now I get the following error :
    SEVERE: No username found
    Exception in thread main
    oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: No username found
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.throwSOAPFaultException(AbstractSecurityInterceptor.java:222)
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleOutbound(AbstractSecurityInterceptor.java:196)
    at oracle.security.wss.interceptors.ClientInterceptor.handleRequest(ClientInterceptor.java:48)
    at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.handleRequest(InterceptorChainImpl.java:122)
    at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorPipeline.handleRequest(AbstractInterceptorPipeline.java:87)
    at oracle.j2ee.ws.client.StubBase._preRequestSendingHook(StubBase.java:646)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:141)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at testsms.runtime.Service1Soap_Stub.ws_submitSimple(Service1Soap_Stub.java:453)
    at testsms.Service1SoapClient.ws_submitSimple(Service1SoapClient.java:52)
    at testsms.Class1.main(Class1.java:41)
    Caused by: FAULT CODE: InvalidSecurity FAULT MESSAGE: No username found
    at oracle.security.wss.WSSecurity.build(WSSecurity.java:1627)
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleOutbound(AbstractSecurityInterceptor.java:188)
    ... 9 more
    The only thing I enabled when securing it was Authentication, when I right click and edit the security propertes the "Authentication" tab has "Use Username to Authenticate" password type "Plain text" and I disabled "Add Nonce" and "Add create time" after it failed first time.
    Where is it expecting to get username and password from ? I have the right username and apssword in Tools->Preferences->Web Browser and Proxy, is that where it comes from ?
    Just to reitterate its the internet proxy server at my end that I'm trying to get through - the web service itself does not use WS Security, so I'm thinking that the mention of WSSecurity in the error means I'm going the wrong way here.

  • Generate ERD from Existing Database

    Hi,
    i need some help getting an ERD from an already existing database.... i'm pretty sure there are tools available... so if any one could suggest some, i'd really appreciate it.
    thanks

    user9285365 wrote:
    Sorry about the vague reply.... i created two different data sources... the first using the "Oracle in XE" driver and the second using the "Microsoft ODBC for Oracle driver" when i try connecting using the first i get the following error: _ODBC Error: 08004 [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified_So what you specified as the "server" was not found in the tnsnames.ora
    the second gives me the following: _ODBC Error: NA000 [Microsoft][ODBC driver for Oracle][Oracle]ORA-06413: Connection not open_
    Not familiar with that one
    i am using: Oracle 10g express and MS Visio 2007 my operating system is Windows 7
    Is your oracle product certified for windows 7?
    thanksFWIW, I once had an issue where two supposedly identical desktops, running the same access (odbc) file (same, as in same, from a shared server) and one had to use the oracle driver, the other the MS driver .... I avoid odbc every chance I get.

  • Generating ERD from existing database

    hi,
    i'm trying to get an ERD for a release 9.2 database. i've been told that using the designer tool is the best way to do this - is this true?
    where can i pick up documentation/instructions on how to use the designer to get the ERD?
    do i need a specific version?
    thanks for the help
    santosh sewlal

    hi,
    i've been trying to generate an ERD using 9i Designer. i've been able to capture a server model diagram, but i get errors (eg. CDS-1504, RME-0020). i've checked metalink, and apparently designer does not support spatial data types or clob/blob datatypes.
    is there a workaround or some other tool i could use?

  • Bug/flaw in JAX-RPC xrpcc generated output (JWSDP EA1)

    I believe I have found a bug (or flaw) in how xrpcc (JWSDP EA1) is generating stubs and WSDL code as follows:
    If you use simple parameter types (ints, doubles, Strings et al) then xrpcc generates a name that is based on the type (eg. String_1) rather than the
    parm name (senderID) in the WSDL and stub code. I have noticed, however, that if you are using a JavaBean as an input/output parameter to/from a remote method, it generates an XMLSchema ComplexType with the proper names of subelements, so that situation seems to be OK.
    I think this is a bug/flaw in xrpcc...
    For example, if you try to use a remote method that looks somewhat like:
    public int SendTrajectory( String senderID )
    You get the following fragment generated in the WSDL output from xrpcc:
    <message name="sendTrajectory">
    <part name="String_1" type="xsd:string"/>
    whereas I think it should use the actual parameter name for simple parameters and should look like:
    <message name="sendTrajectory">
    <part name="senderID" type="xsd:string"/>
    I read the JAX-RPC Spec (v 0.7....pdf on the Sun web site) and it seems to allude to the fact that the names SHOULD be based on the parameter name in
    section 5.5.5. where it specifically states:
    "Each Java parameter (in the Java method signature) is mapped to a message part in the wsdl:message. This wsdl:message corresponds to the wsdl:input element for the mapped wsdl:operation. Each message part has a name attribute that is mapped based on the name of the Java parameter and a type attribute (an XML data type)"
    ...and the example the shown further down in that section of the JAX-RPC spec re-inforces this opinion.
    The generated code works with the current version of JAX-RPC and xrpcc, that is not the problem. There is a bigger issue with this situation, since you
    cannot (and should not) assume that a web service (even if generated with JAX-RPC) will be invoked by a client that was generated with JAX-RPC tools.
    The problem is really evident when you don't use JAX-RPC to talk to a JAX-RPC generated service, since you have to use these funny names like String_1, Double_3 which have no application context semantics and thus will invariably lead to some really subtle bugs in remote calls.
    We have used JAX-RPC to generate our server side web service in the normal manner. However, our client is running on an embedded Java (CLDC/MIDP
    level device....on an aJile Java chip in fact) where the JAX-RPC footprint is way too massive for the confines of the MIDP/CLDC platform. So we are using the Enhydra kSoap API and libraries on the client end to invoke the back end JAX-RPC service. This works fine by the way! We have successfully invoked JAX-RPC wrapped services from the embedded Java platform. The
    difficulty stems from the fact that the kSOAP api (and others) require you to bind the values of the parameters for the SOAP invocation by using the WSDL <part> name, and so these funny type-based names become visible in your client application code. Ouch!
    For example, my kSOAP calls to invoke our JAX-RPC service look like this (where request is a SOAP web services request using the kSOAP API's):
    request.addProperty ( "String_1", "SaJe314159" );
    request.addProperty ( "Double_2", pvt.getLatitude() );
    request.addProperty ( "Double_3", pvt.getLongitude() );
    request.addProperty ( "Double_4", pvt.getBearing().floatValue() ) );
    request.addProperty ( "Double_5", pvt.getVelocity() );Whereas it should really look like the following, based on our interface definitions:
    request.addProperty ( "senderID", "SaJe314159" );
    request.addProperty ( "latitude", pvt.getLatitude() );
    request.addProperty ( "longitude, pvt.getLongitude() );
    request.addProperty ( "bearing", pvt.getBearing().floatValue() ) );
    request.addProperty ( "velocity", pvt.getVelocity() );The problem is that xrpcc generates the names as in the first example (String_1, Double_2) instead of using the parameter names (eg. "senderID, latitude).
    We can work around this in two ways for now: 1) use the type-based generated name labels for the moment, or 2) go into the xrpcc generated stub code and WSDL and make manual changes. In the longer term, I'm sure you appreciate why either of these workarounds are not acceptable.
    Based on the above, I think that there is a bug/flaw in this version of xrpcc (it's using a parameter type rather than a parameter name to generate the <message>/<part> element in the WSDL (and of course in the generated stubs and such).
    Thoughts? Fix in EA2 perhaps?
    Thanks!
    ....Andrzej

    I've got the same problem. I edited the WSDL and regenerated both Server and Client classes and it then didn't work. Forget the error but it seemed to have incorrectly capitalised a letter in a class/method name.
    I am trying to define a common WSDL doc that our suppliers must conform to when providing us with a web service. My aim is that the common WSDL will be OK for both Java-based web services and .NET based web services. I have succeeded in this task apart from the method parameter name issue. .NET (of course) does it correctly, and its WSDL correctly names the method parameters. However Java Web Services via xrpcc produce this ridiculous String_1, String_2 etc which bear no relation to the method parameters. I cannot very well go to our suppliers who are using .NET and demand that their method/function parameters are named String_1, String_2 - and wouldn't Bill be pleased with my excuse that I'm trying to get equivalence with the deficiencies of Java ?

  • How the client stub is generated from the wsdl file ?

    I want to know how the client stub is generated from the wsdl file ?
    how the client accesses the methods in the wsdl fie ?
    thanks alot .

    there are several ways to generate the stubs from a wsdl.
    if you're using jax-ws, there is a netbeans tutorial creating web services. you found this on http://www.netbeans.org/kb/trails/web.html.
    if you're using axis as your framework, i think this would be a nice introduction of it. link : http://www.eli.sdsu.edu/courses/spring03/cs683/notes/AXIS/AXIS.html#Heading4

  • Generating proxies from WSDL utility

    Hey ..
    Does BEA give a utility to generate client webservice proxy classes from a WSDL
    I mean ..instead of any server classes to run clientgen..I have just the WSDL
    and I need to generate the proxy classes for myself..I guess it defeats the purpose
    of webservices(integration)..if I have to ask the webservice deployer for client
    classes ..!
    Thanx,
    Krish

    "Krishnan Venkataraman" <[email protected]> wrote in message
    news:[email protected]...
    >
    Manoj , u sure this is a valid link ...coz I cannot see a wsdl athttp://example.com/myapp/myservice.wsdl..
    This should be the url to your wsdl. (the wsdl from which you want
    to generate the service). You can also copy the wsdl to your local
    machine and use the file url.
    >
    and is there any WLS70 dependency for me to generate these proxies ...Imean do
    I need anything from WLS70 (jar files etc)for me to do this task ...?You need wls70. the clientgen ant task is provided by wls70.
    >
    BTW.. just to update u on our other issue we talked about...have a look atthe
    below trace...Thanx,Krish
    Shridhar ...
    Couple of things ...
    1) We will ask the webservice provider put the CR080927_70sp1.jar intheir classpath.
    But instead of they generating the client-jar and runningVersionMaker on
    this to give us the output , can we do this on ourside...
    I understand that there is a way in which the client itself generatestheir
    own proxies from the wsdl...In case we can do this ...isCR080927_70sp1.jar required
    on
    the client side also for generating the proxies...or is it required onthe
    WLS70 side only at runtime...once we generate these proxies ourselves thenfor
    compiling our 6.0 client and running it , I will use the output ofversionMaker
    and wsclient70.jar.
    2) Can u possibly mail me the patched jar files which u mention below byemail...and
    send me a confirmation email saying u have sent it..coz we seem to havesome firewall
    issues going to an outside ftpserver....and the confirmation mail is onlyincase
    u send the mail and I do not get it coz of the size etc ..
    Thanx,
    Krish
    Krishnan (Krish) Venkataraman
    Bank of America Corp.
    Senior Technology Analyst
    Email: [email protected]
    Work # : 646 733 4248
    Cell # : 646 210 5482
    -----Original Message-----
    From: Shridhar Mysore [mailto:[email protected]]
    Sent: Friday, November 01, 2002 12:38 PM
    To: Venkataraman, Krishnan
    Subject: Invoking 7.0 WS from 6.0 WS client [ Case 367229 ]
    Hello Krishnan,
    Firstly, your present configuration (involving the use of a SessionBeanin 6.0sp1
    as WS client calling into a WS hosted in 7.0sp1) where you are using 7.0webserviceclient.jar
    alongside 6.0 weblogic.jar is not supported, nay non-viable. The result ofsuch
    a configuration would lead to NoSuchMethodError exceptions which you haveseen
    at your end.
    Secondly, in order to solve this we need to use portable stubs for WSclients,
    a feature, that has been included in
    7.0 SP02 ! We, however have made this feature available on 7.0 SP01 aswell in
    the form of a one-off patch !
    And the following is a procedure for enabling this on 7.0SP01 :
    - Add the one-off patch ( CR080927_70sp1.jar ) at the beginning of theCLASSPATH
    in your 7.0 server startup script. Ensure that you restart the server forthis
    to kick in.
    - Generate the client jar for the 7.0 WS
    - Run the weblogic.webservice.tools.versioning.VersionMaker utility bysupplying
    the client jar to generate re-versioned classes.
    - Compile the WS client in 6.0 by supplying the re-versioned classes(generated
    from VersionMaker ) and wsclient70.jar (note wsclient70.jar should workwith
    6.x versions)
    - Run the WS client in 6.0 by supplying the re-versioned classes(generated from
    VersionMaker ) and wsclient70.jar
    Lastly, please find/download the following files from our FTP server(ftpsupport.beasys.com)
    at /pub/case367229
    by logging in with username/password as support/pechool
    ( Note : this password is valid for the week of Oct 27, 2002 )
    CR080927_70sp1.jar - one-off patch for 7.0sp01
    wsclient70.jar - this would be used instead ofwebserviceclient.jar by
    6.x WS client/s
    "manoj cheenath" <[email protected]> wrote:
    Sure. you can generate client from a WSDL.
    Please try this:
    <clientgen wsdl="http://example.com/myapp/myservice.wsdl"
    packageName="myapp.myservice.client"
    clientJar="c:/myapps/myService_client.jar"/>
    regards,
    -manoj
    "Krishnan Venkataraman" <[email protected]> wrote in message
    news:[email protected]...
    Hey ..
    Does BEA give a utility to generate client webservice proxy classesfrom a
    WSDL
    I mean ..instead of any server classes to run clientgen..I have justthe
    WSDL
    and I need to generate the proxy classes for myself..I guess it defeatsthe purpose
    of webservices(integration)..if I have to ask the webservice deployerfor
    client
    classes ..!
    Thanx,
    Krish

Maybe you are looking for