Clientgen vs. schemaLocation URLs

I'm on WLS 9.2, and I'm following the WSDL-first web service development process. The WSDL is importing some schemas:
<import namespace="http://manu.com/webworks/ds/common/attribute" location="manuattribute.xsd"/>
<import namespace="http://manu.com/webworks/publicapi" location="datamanager.xsd"/>
...and datamanager.xsd depends on manuattribute.xsd and so imports it:
     <xs:import namespace="http://manu.com/webworks/ds/common/attribute"
schemaLocation="manuattribute.xsd"/>
The wsdlc and jwsc ant tasks have no trouble with this, and the service war is duly generated, with the WSDL and the two xsd files all in the WEB-INF\wsdls path.
Enter clientgen, which doesn't like this situation at all. I invoke it thusly:
<clientgen
wsdl="jar:file:${build.root.dir}/ear/webworks/datamanagerservices/com/manu/webworks/datamanagerservices/DataManagerServicesPortTypeImpl.war!/WEB-INF/wsdls/DataManagerServices.wsdl"
destDir="/output/clientclasses" />
... with the following results:
D:\release\v74WL92\webworks\build\build.xml:1987: weblogic.wsee.tools.WsBuildExc
eption: com.bea.xml.XmlException: D:\release\v74WL92\Webworks\jar:file:d:\releas
e\v74WL92\webworks\ear\webworks\datamanagerservices\com\manu\webworks\datamanage
rservices\DataManagerServicesPortTypeImpl.war!\WEB-INF\wsdls\datamanager.xsd:0:
error: URL "manuattribute.xsd" is not well-formed
So, must I modify the original schema locations in some way to make clientgen happy (without bothering wsdlc or jwsc), or what? If so, how?
Thanks in advance...
Mark

I want to open the file url in a new browser window. But the user's default browser is not known, it can be IE or netscape.
Also, is there any way to provide a html URL as
to launch browser from a java application?
thnx in advance!

Similar Messages

  • How to register multiple xsd with relative include references?

    Hi there,
    unfortunately I'm a newbie to XDB and maybe this is a basic question. But I didn't get it solved right now (also Google wasn't my friend helping me out)...
    I try to register a set of xsd to XML DB (11g Release 2 11.2.0.1.0) with the given structure:
    Folder 'demo' contains:
    mainmodel.xsd
    types.xsd
    Subfolder 'demo/details' contains:
    submodel_a.xsd with <xs:include schemaLocation="../types.xsd"/>
    submodel_b.xsd with <xs:include schemaLocation="submodel_a.xsd"/>
    First I created the folders 'demo' and 'demo/details' in the XML DB repository using dbms_xdb.CreateFolder.
    Then I added the xsd as resources to the XML DB, e.g.
    declare
          v_result boolean;
          v_schema xmltype := xmltype(bfilename('DEMO', 'types.xsd'), nls_charset_id('ISO-8859-1'));
        begin
          v_result := dbms_xdb.CreateResource('/demo/types.xsd', v_schema);
        end;
    Then I registered my types.xsd:
    begin
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
            schemaurl => 'types.xsd',
            schemadoc => BFILENAME ('DEMO','types.xsd'),
            csid => 0
            end;
    When trying to register submodel_a.xsd the same way I get the following error:
    ORA-31000: Ressource '../types.xsd' is not an XDB schema document.
    How can I resolve this?
    Best regards
    Matthias

    As Marco mentioned, you have to resolve and update the relative urls in a local copy of the schema, just before registration.
    That way you can keep the original file untouched while correctly register the schema using absolute urls.
    Here's a short example, assuming all XSDs have been loaded as resources in the repository, using the same folder structure :
    - This registers "types.xsd" at URL "/demo/types.xsd"
    begin
      dbms_xmlschema.registerSchema(
        schemaURL => '/demo/types.xsd'
      , schemaDoc => xdburitype('/demo/types.xsd')
      , local     => true
      , genTypes  => false
      , genTables => false
    end;
    - This gets a local copy of "submodel_a.xsd" located at "/demo/details/submodel_a.xsd" in the repository, resolves and updates the include location(s), then registers it :
    declare
      v_schema_url varchar2(2000) := '/demo/details/submodel_a.xsd';
      v_schema_doc xmltype := xdburitype(v_schema_url).getxml();
    begin
      for r in (
          select x.*
          from xmltable(
                 'for $i in fn:doc($url)/xs:schema/xs:include
                  return fn:resolve-uri($i/@schemaLocation, $url)'
                 passing v_schema_url as "url"
                 columns idx        for ordinality
                       , schema_loc varchar2(4000) path '.'
               ) x
      loop
        select updatexml(
                 v_schema_doc
               , '/xs:schema/xs:include[' || to_char(r.idx) || ']/@schemaLocation'
               , r.schema_loc
               , 'xmlns:xs="http://www.w3.org/2001/XMLSchema"'
        into v_schema_doc
        from dual;
      end loop;
      dbms_output.put_line(v_schema_doc.getclobval);
      dbms_xmlschema.registerSchema(
        schemaURL => v_schema_url
      , schemaDoc => v_schema_doc
      , local     => true
      , genTypes  => false
      , genTables => false
    end;
    (in this case the xs:include/@schemaLocation will be updated from '../types.xsd' to '/demo/types.xsd')

  • Consuming a Web Service

    Short Version:
    I need to consume a simple webservice with a proxy class as the return object.
    Long Version
    I created a simple web service in .NET to expose. It returns a data object with two properties (and getters and setters).
    The web service has two methods both of which return a data object and one that uses a dataobject passed in as a parameter.
    I downloaded the WSDL and placed it in the beans folder.
    I created a sercive from the wsdl. This is the outputed code:
    public interface ServiceControl2 extends ServiceControl
    static final long serialVersionUID = 1L;
    public org.tempuri.Pirate getPirate();
    public org.tempuri.Pirate setPirate(org.tempuri.Pirate myPirate_arg);
    /** This event set interface provides support for the onAsyncFailure event.
    @EventSet(unicast=true)
    public interface Callback extends ServiceControl.Callback {};
    I then created another class from this service call:
    @Control
    private beans.ServiceControl2 sccon;
         public String getPirate()
              if (sccon==null){
                   return "sccon is null";
              else{
                   return sccon.getPirate().getSayArrh();
    I then called my class in a JSP which resulted in "sccon is null".
    Any help would be appreciated. (Web Service has been checked and is running fine).

    Hi
    If you are using Controls, you cannot directly create the control
    http://beehive.apache.org/docs/1.0.2/controls/programming.html
    Also if you still have problems , post the top area of your control (is your WSDL in the schemas folder and is the path to it correct?).
    @ServiceControl.Location(urls = {"http://localhost:8080/soap/servlet/rpcrouter"})
    @ServiceControl.HttpSoapProtocol
    @ServiceControl.SOAPBinding(style = ServiceControl.SOAPBinding.Style.RPC, use = ServiceControl.SOAPBinding.Use.ENCODED)
    @ServiceControl.WSDL(resourcePath = "sample.wsdl", service = "Hello_Service")
    @ControlExtension
    public interface Hello_ServiceControl extends ServiceControl
    OR
    If you dont want to use controls and would rather have a plain java stub then use clientgen(http://e-docs.bea.com/wls/docs100/webserv/client.html)
    In an ant Build
    <taskdef name="clientgen"
    classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
         <clientgen
              wsdl="${wsdl.url}"
              destDir="${clientclasses.dir}"
              packageName="${package.name}"
              serviceName="${service.name}" typeFamily="XMLBEANS_APACHE">
         </clientgen>
    //and have the weblogic classes in your classpath
    SETLOCAL
    set BEA_HOME=C:\bea102
    call "%BEA_HOME%\wlserver_10.0\common\bin\commEnv.cmd"
    set CLASSPATH=%WEBLOGIC_CLASSPATH%

  • Clientgen does not fully qualify superclasses

    I have datatypes that extend classes in a different package. When I use
    WLS81 ANT task clientgen to generate client-jars from WSDL files obtained
    from web services generated by servicegen, the superclasses are not fully
    qualified in the generated java code, nor are there import statements for
    the superclasses. This causes the generated code to have compile errors.
    Other dependencies are fully qualified in the generated code, but the
    superclass is not.
    There mayThe WSDL is included below. Specifically,
    com.starcomsoft.pp.database.BaseHelper does not get a fully qualifed
    reference in the generated java code.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://localhost:7001/webservice/"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12
    ="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2002/12/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="http://localhost:7001/webservice/">
         <types xmlns:tns="http://localhost:7001/webservice/"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12
    ="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2002/12/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.starcomsoft.pp.common" elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="java:com.starcomsoft.pp.common">
                   <xsd:complexType name="AbstractSearchCriteria"
    abstract="true">
                        <xsd:sequence>
                             <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.starcomsoft.pp.customer"
    elementFormDefault="qualified" attributeFormDefault="qualified"
    targetNamespace="java:com.starcomsoft.pp.customer">
                   <xsd:import namespace="java:com.starcomsoft.pp.database">
    </xsd:import>
                   <xsd:import namespace="java:language_builtins.lang">
    </xsd:import>
                   <xsd:import namespace="java:language_builtins.util">
    </xsd:import>
                   <xsd:import
    namespace="http://schemas.xmlsoap.org/soap/encoding/">
    </xsd:import>
                   <xsd:import namespace="java:com.starcomsoft.pp.common">
    </xsd:import>
                   <xsd:complexType name="Address">
                        <xsd:complexContent>
                             <xsd:extension base="stns:AddressHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="AddressHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:string"
    name="addressOne" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="addressTwo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="city" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="stateId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="zipCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ArrayOfCustomerGraphData">
                        <xsd:complexContent>
                             <xsd:restriction
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
                                  <xsd:attribute
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType"
    wsdl:arrayType="stns:CustomerGraphData[]">
    </xsd:attribute>
                             </xsd:restriction>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ArrayOfProfile">
                        <xsd:complexContent>
                             <xsd:restriction
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
                                  <xsd:attribute
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType"
    wsdl:arrayType="stns:Profile[]">
    </xsd:attribute>
                             </xsd:restriction>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Contact">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ContactHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ContactHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:boolean"
    name="active" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="contactPoint" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="departmentId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="first" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="last" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="primaryContact" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="title" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Customer">
                        <xsd:complexContent>
                             <xsd:extension base="stns:CustomerHelper">
                                  <xsd:sequence>
                                       <xsd:element type="stns:Address"
    name="billAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerAdjustment">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:CustomerAdjustmentHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerAdjustmentHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="adjustmentId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="amount" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="code" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="facilityId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="factorId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="methodId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="value" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerGraphCollection">
                        <xsd:sequence>
                             <xsd:element
    type="stns:ArrayOfCustomerGraphData" name="customerGraphDataValues"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerGraphData">
                        <xsd:sequence>
                             <xsd:element type="xsd:string" name="code"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:int" name="id"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:string" name="name"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:int" name="parentId"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="accountStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="agingDate" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="agingDays" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="allowSplitOrders" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="balanceDue" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billToAddressId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billingAddressSourceCode" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billingPartnerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="billingPartnerName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="buyer" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="creditAvailable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="creditLimit" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="currencyId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="customerCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="deliveryPoints" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="departmentCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="dropSequence" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="facilityId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="financeChargePercent" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="fixedTimeForStop" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="freightAmount" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="freightTypeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="groupId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="gstTaxApplicable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="hasHistory" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="importNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isDirectlyBillable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isGroupVolumeDiscounted" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isRegion" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isShipTo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="kitCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="leadTime" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="lockoutControl" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="managerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="mediumRangeZone" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="merchandiserId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="name" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="packageId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="parentCustomerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="parentName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="priceListId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="printStatement" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="receivingTimeFrom" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="receivingTimeTo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="requirePO" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="requireSKU" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="salesRepId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipToAddressId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipViaId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipZoneId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="shortRangeZone" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="specialCodes" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="startDate" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="storeNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="summaryPrintCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="taxCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="taxNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="termsCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="toBeDue" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="useShippingAddress" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="vendorNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="warningControl" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerProfile">
                        <xsd:sequence>
                             <xsd:element type="stns:ArrayOfProfile"
    name="profiles" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerSearchCriteria">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.common" base="tp:AbstractSearchCriteria">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="billingPartnerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isDirectlyBillable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isRegion" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isShipTo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="parentCustomerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="searchString" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="searchType" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerTypePct">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:CustomerTypePctHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerTypePctHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerTypeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="status" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="typePct" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="MailingListSubscription">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:MailingListSubscriptionHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="MailingListSubscriptionHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:boolean"
    name="checked" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="mailingListId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="mailingListName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NoteVault">
                        <xsd:complexContent>
                             <xsd:extension base="stns:NoteVaultHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NoteVaultHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="tag" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="text" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Notes">
                        <xsd:complexContent>
                             <xsd:extension base="stns:NotesHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NotesHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="date" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="owner" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="reference" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="subtype" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="text" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Profile">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ProfileHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="numericInfo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    type="stns:ProfileInfo" name="profileInfoData" minOccurs="1" maxOccurs="1"
    nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="profileInfoId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="textInfo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileInfo">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ProfileInfoHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileInfoHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:string"
    name="domainValueName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillabl

    Bruce,
    Sorry, I forgot to mention that the WSDL was generated by querying the URL
    of the deployed webservice. If there is something missing from the WSDL,
    it may be due to servicegen, or a problem with deployement. All of this
    used to work in WLS 7.0 sp1.
    I submitted this case (459937) to BEA Support on 11/12/03 and have given
    them my EJB jar file so they can reproduce the problem using servicegen.
    I would appreciate any input you can provide to resolve this problem, but
    you can let Support handle it from here if you wish.
    Thanks,
    Tony
    [email protected] (Bruce Stephens) wrote:
    Hi Tony,
    Could you clarify your starting point; i.e. do you begin with WSDL or
    from java?
    In looking at your WSDL, on the surface I'm concerned that the imports
    should be something like <xsd:import namespace="..."
    schemaLocation="myschema.xsd"/> so it may not be including your
    definitions.
    Thanks,
    Bruce
    Tony Huang wrote:
    I have datatypes that extend classes in a different package. When I
    use WLS81 ANT task clientgen to generate client-jars from WSDL files
    obtained from web services generated by servicegen, the superclasses
    are not fully qualified in the generated java code, nor are there
    import statements for the superclasses. This causes the generated
    code to have compile errors. Other dependencies are fully qualified in
    the generated code, but the superclass is not.
    There mayThe WSDL is included below. Specifically,
    com.starcomsoft.pp.database.BaseHelper does not get a fully qualifed
    reference in the generated java code.

  • Clientgen in WL 81 giving problems for stub generation from WL91 WSDL

    Hi,
    I am very new to this forum and new to Weblogic too.
    Here is my problem. I generated a webservice from a Stateless Session bean using annotation in WebLogic 91. Used the "jwsc"/"wldeploy" to generate and deploy the webservice. Also generated the client stubs using "clientgen" in weblogic 91.
    Created a small web application using a single jsp and servlet (the servlet is where i invoke the service).
    Everything works fine till its weblogic 91.
    Now the problem. I need to make the jsp work from Weblogic 81. So I am trying to create the client stubs from the service endpoint WSDL on WebLogic 91 by using the deployed webservice URL.
    The clientgen in WL 81 is complaining that the "parameters" is already defined (Please see the error below".
    I would assume that BEA would have tested this scenario as it should be a no-brainer. So why does the cleintgen in WL 81 complain. Is there any other step or way that I am missing. I have tried all sorts of things before posting to this forum (like 1. generating the stubs using WSDL2JAVA using axis -- WebLogic 81 gives a null pointer exception 2. generating the client stubs using "clientgen" in WL 91 and trying to compile using the jdk 1.4 and using in WL 81 -- complains that the couldnot find something like jax-rpc._._.ServiceImpl
    Will be realy helpful if someone who had this kind of experience of someone from BEA can help me a little bit.
    Thanks in advance to all for your time.
    ERROR WHILE using CLIENGEN
    build-client:
    [clientgen] Generating client jar for http://localhost:7001/webservice/MAC/Metho
    dsAccessControl?WSDL ...
    [clientgen] WARNING: Map ['http://elexnet.bah.com/methods']:ArrayOfint_literal i
    ncompliantly with JAX-RPC, mapping to a Java array of .int
    [clientgen] WARNING: Map ['http://elexnet.bah.com/methods']:ArrayOfMethodUserTO_
    literal incompliantly with JAX-RPC, mapping to a Java array of com.bah.elexnet.s
    erver.to.MethodUserTO
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:15: par
    ameters is already defined in unArchiveUser(com.bah.elexnet.methods.UnArchiveUse
    r,com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder)
    [clientgen] public void unArchiveUser(com.bah.elexnet.methods.UnArchiveUser pa
    rameters, com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:21: par
    ameters is already defined in editUserRoles(com.bah.elexnet.methods.EditUserRole
    s,com.bah.elexnet.methods.holders.EditUserRolesResponseHolder)
    [clientgen] public void editUserRoles(com.bah.elexnet.methods.EditUserRoles pa
    rameters, com.bah.elexnet.methods.holders.EditUserRolesResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:27: par
    ameters is already defined in getUsers(com.bah.elexnet.methods.GetUsers,com.bah.
    elexnet.methods.holders.GetUsersResponseHolder)
    [clientgen] public void getUsers(com.bah.elexnet.methods.GetUsers parameters,
    com.bah.elexnet.methods.holders.GetUsersResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:33: par
    ameters is already defined in addUserRoles(com.bah.elexnet.methods.AddUserRoles,
    com.bah.elexnet.methods.holders.AddUserRolesResponseHolder)
    [clientgen] public void addUserRoles(com.bah.elexnet.methods.AddUserRoles para
    meters, com.bah.elexnet.methods.holders.AddUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:39: par
    ameters is already defined in archiveUser(com.bah.elexnet.methods.ArchiveUser,co
    m.bah.elexnet.methods.holders.ArchiveUserResponseHolder)
    [clientgen] public void archiveUser(com.bah.elexnet.methods.ArchiveUser parame
    ters, com.bah.elexnet.methods.holders.ArchiveUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:45: par
    ameters is already defined in changeSystemPassword(com.bah.elexnet.methods.Chang
    eSystemPassword,com.bah.elexnet.methods.holders.ChangeSystemPasswordResponseHold
    er)
    [clientgen] public void changeSystemPassword(com.bah.elexnet.methods.ChangeSys
    temPassword parameters, com.bah.elexnet.methods.holders.ChangeSystemPasswordResp
    onseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:51: par
    ameters is already defined in deleteUser(com.bah.elexnet.methods.DeleteUser,com.
    bah.elexnet.methods.holders.DeleteUserResponseHolder)
    [clientgen] public void deleteUser(com.bah.elexnet.methods.DeleteUser paramete
    rs, com.bah.elexnet.methods.holders.DeleteUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:57: par
    ameters is already defined in getUserRoles(com.bah.elexnet.methods.GetUserRoles,
    com.bah.elexnet.methods.holders.GetUserRolesResponseHolder)
    [clientgen] public void getUserRoles(com.bah.elexnet.methods.GetUserRoles para
    meters, com.bah.elexnet.methods.holders.GetUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:20
    : parameters is already defined in unArchiveUser(com.bah.elexnet.methods.UnArchi
    veUser,com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder)
    [clientgen] public void unArchiveUser(com.bah.elexnet.methods.UnArchiveUser pa
    rameters, com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:39
    : parameters is already defined in editUserRoles(com.bah.elexnet.methods.EditUse
    rRoles,com.bah.elexnet.methods.holders.EditUserRolesResponseHolder)
    [clientgen] public void editUserRoles(com.bah.elexnet.methods.EditUserRoles pa
    rameters, com.bah.elexnet.methods.holders.EditUserRolesResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:58
    : parameters is already defined in getUsers(com.bah.elexnet.methods.GetUsers,com
    .bah.elexnet.methods.holders.GetUsersResponseHolder)
    [clientgen] public void getUsers(com.bah.elexnet.methods.GetUsers parameters,
    com.bah.elexnet.methods.holders.GetUsersResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:77
    : parameters is already defined in addUserRoles(com.bah.elexnet.methods.AddUserR
    oles,com.bah.elexnet.methods.holders.AddUserRolesResponseHolder)
    [clientgen] public void addUserRoles(com.bah.elexnet.methods.AddUserRoles para
    meters, com.bah.elexnet.methods.holders.AddUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:96
    : parameters is already defined in archiveUser(com.bah.elexnet.methods.ArchiveUs
    er,com.bah.elexnet.methods.holders.ArchiveUserResponseHolder)
    [clientgen] public void archiveUser(com.bah.elexnet.methods.ArchiveUser parame
    ters, com.bah.elexnet.methods.holders.ArchiveUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:11
    5: parameters is already defined in changeSystemPassword(com.bah.elexnet.methods
    .ChangeSystemPassword,com.bah.elexnet.methods.holders.ChangeSystemPasswordRespon
    seHolder)
    [clientgen] public void changeSystemPassword(com.bah.elexnet.methods.ChangeSys
    temPassword parameters, com.bah.elexnet.methods.holders.ChangeSystemPasswordResp
    onseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:13
    4: parameters is already defined in deleteUser(com.bah.elexnet.methods.DeleteUse
    r,com.bah.elexnet.methods.holders.DeleteUserResponseHolder)
    [clientgen] public void deleteUser(com.bah.elexnet.methods.DeleteUser paramete
    rs, com.bah.elexnet.methods.holders.DeleteUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:15
    3: parameters is already defined in getUserRoles(com.bah.elexnet.methods.GetUser
    Roles,com.bah.elexnet.methods.holders.GetUserRolesResponseHolder)
    [clientgen] public void getUserRoles(com.bah.elexnet.methods.GetUserRoles para
    meters, com.bah.elexnet.methods.holders.GetUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] 16 errors
    [clientgen] java.io.IOException: Compiler failed executable.exec
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
    ilerInvoker.java:470)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
    leFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
    eStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
    teStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/Projects/OtherProjects/WL/soaws/build/build.xml:122: weblogic.webservice
    .tools.build.WSBuildException: Compiler failed executable.exec - with nested exc
    eption:
    [java.io.IOException: Compiler failed executable.exec]

    did you get a solution for this issue. I am trying to generate a stub to connect to a webservice i created by exposing my stateless session EJB as a web service, using annotations. I want to create a client stub using the clientgen from weblogic 81. I am unable to do this, do you have any solution to this.

  • Getting "Error 403--Forbidden" while accessing ADF bookmarked URL

    Hi,
    Here am trying to work with an ADF application to suport bookmarking.
    Following are the steps I did to create a sample application.
    Created a bounded task-flow (user-details.xml), which has the "Method call" as default activity along with an another view activity(userData.jsff page).
    This task-flow takes an input parameter "Id" to display user details. In the method call activity user data will be initialized using the given input parameter and then the data will be displayed using userData.jsff page.
    Created a view activity (details.jspx page) in adfc-config.xml file.
    Marked the "details.jspx" file as bookmark-able by changing "Bookmark property to true" and given a Bookmark URL Parameter "Name is Id and Value is #{pageFlowScope.user_id}".
    Dropped the bounded task-flow user-details.xml as a region into the details.jspx file.
    Now the user_id which is coming as URL Parameter will be passed to user-details.xml task-flows input parameter value.
    Created users.jspx page which lists all the users as home page. In the users.jspx page we'll have a link to user details page with a parameter Id.
    By running the application will get users page. When I click on the user details link in the users page, the app showing user details page as expected.
    Now I bookmarked the user details page. If I open the bookmarked page in the same tab, it is working fine. But when I open this bookmark in a new tab getting the "Error 403--Forbidden" response.
    Bookmarked URL: localhost:7101/BookmarkTestApp-ViewController-context-root/faces/user_details?id=123&_afrWindowMode=0&_afrLoop=4884151149818&_adf.ctrl-state=35yghmx4f_18
    When I click the above bookmark in another tab the url is processing for few seconds ( 2 to 3 seconds) and converts to localhost:7101/BookmarkTestApp-ViewController-context-root/ and giving 403 response. At this time it is not touching my beans at all (verified this by running the server in debug mode).
    Web.xml looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <listener>
        <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
      </listener>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>GatewayServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>GatewayServlet</servlet-name>
        <url-pattern>/flashbridge/*</url-pattern>
      </servlet-mapping>
      <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
      </mime-mapping>
      <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jsff</url-pattern>
          <is-xml>true</is-xml>
        </jsp-property-group>
      </jsp-config>
    </web-app>
    Am I missing any thing here.
    Thanks in advance.
    -Gopal.

    https://blogs.oracle.com/DavidGiammona/entry/why_do_i_get_this_error_403_--

  • Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest

    I asked this on Stackoverflow but haven't received any feedback.  oracle11g - Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest - Stack Overflow   I'm hoping for a response here.
    I work hard to resolve any and every error I get thrown and mostly always work out the solution.  I find a good walk helps.  But this one has me stumped, I've been staring at this same error all day.  Like Ticcie in http://stackoverflow.com/questions/1332869/invalid-oracle-url-specified-oracledatasource-makeurl suggests, the error message does nothing to help understand what is wrong.
    <pre jivemacrouid="_13768863908977320" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768863908977320">    SEVERE: Exception during lifecycle processing
        org.glassfish.deployment.common.DeploymentException: Exception (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
        Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        Error Code: 0
            at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:762)
            at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
    I am doing Arquillian Integration Testing for a Java EE 7 EAR application.  Its been going well using JPA and the DerbyDb but I now need to test Native Oracle DB (11g) SQL.  So I've setup a new testing project to connect to an OracleDB using EclipseLink.
    I CAN connect to the database through the Eclipse IDE DataSource explorer and ping it no problems.  
    I DO connect to a sister Oracle database in Glassfish standalone and ping it no problems.
    But the Arquillian Test cannot connect to it with the above ambiguous error.
    I use exactly the same URL as I have with the Eclipse IDE DataSource explorer:
    <pre jivemacrouid="_13768864212106660" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768864212106660">    jdbc:oracle:thin:@marina.work.com:1521:orcl
    The Arquillian setup is the same as I did for DerbyDb (pretty-much same as http://arquillian.org/guides/testing_java_persistence/ with these variations for OracleDB.  I'm attaching a minimal test case where you can see this and run it yourself:
    <pre jivemacrouid="_13768865012731288" ___default_attr="xml" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865012731288"># src/main/resources-glassfish-embedded/sun-resources.xml
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
        <resources>
            <jdbc-resource pool-name="ArquillianOraclePool" jndi-name="jdbc/arquillian" />
            <jdbc-connection-pool name="ArquillianOraclePool" res-type="javax.sql.DataSource" datasource-classname="oracle.jdbc.pool.OracleDataSource" 
                is-isolation-level-guaranteed="false" >
            </jdbc-connection-pool>
        </resources>
    <pre jivemacrouid="_13768865126088326" ___default_attr="xml" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865126088326"># src/main/resources-glassfish-embedded/test-persistence.xml
        <?xml version="1.0" encoding="UTF-8"?>
        <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="
              http://java.sun.com/xml/ns/persistence
              http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
            <persistence-unit name="esaarch01-pu" transaction-type="JTA">
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
                <jta-data-source>jdbc/arquillian</jta-data-source>
                <jar-file>test.jar</jar-file>
                <exclude-unlisted-classes>false</exclude-unlisted-classes>
                <properties>
                    <property name="javax.persistence.jdbc.Url" value="jdbc:oracle:thin:@marina.work.com:1521:orcl" />
                    <property name="javax.persistence.jdbc.Password" value="demo" />
                    <property name="javax.persistence.jdbc.User" value="test" />
                    <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver" />    <!-- driver. -->
                    <property name="javax.persistence.jdbc.platform" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform" />
                    <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
                    <property name="eclipselink.logging.level" value="FINE" />
                    <property name="eclipselink.logging.level.sql" value="FINE" />
                </properties>
            </persistence-unit>
        </persistence>
    To prove this file is used (for something) I've introduced XML well-formedness errors such as text in the `properties` element and receive the following error.
    <pre jivemacrouid="_13768865443638511" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865443638511"> 
        java.io.IOException: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 16; Deployment descriptor file META-INF/persistence.xml in archive .  cvc-complex-type.2.3: Element 'properties' cannot have character , because the ...
    I've tried different property names but none change the error message.  Which makes me think that the URL property isn't being picked up at all.  
    Such URL variations as (with matching mods for name and password):
    <pre jivemacrouid="_13768865691348423" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865691348423">    javax.persistence.jdbc.url URL Url (three variations)
        eclipselink.jdbc.url URL Url (three variations)
    No variation works.  Same error.
    It would be really nice if the exception can be more specific about what it can and cannot find.
    I followed Diagnosability in JDBC to try and increase the log output.  It provides a little more insight.  Below is the relevant log messages.
    Can anyone tell me what's going wrong and what I need to do to make it work?  Sample project is attached (I assume I can attach and will try after posting since I can't see anything at the moment).  To get going you'll need to do the following:
    1. Add OJDBC6_g to your local maven repository with:
    <pre _modifiedtitle="true" jivemacrouid="_13768941800232399" ___default_attr="javascript" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768941800232399">mvn install:install-file -Dfile=ojdbc6_g.jar -DgroupId=com.oracle  -DartifactId=ojdbc6_g -Dversion=11.2.0 -Dpackaging=jar
    Be running an Oracle11g DB and set the parameters in the file:
    <pre jivemacrouid="_13768943053094146" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768943053094146">sun/main/resources-glassfish-embedded
    <pre jivemacrouid="_13768942865272586" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768942865272586">
    Also notice there is a 'derby' version of this file and the sun-resources file.  And there is a line of code in createData() in the AlertSQLTest.java Unit Test file (that you run) to change between Derby and Oracle.  The point of this is to show that Derby works fine, although of course you don't need to specify a URL nor username and password.  I'm confident the persistence.xml is being used.
    In the following log output I'm most interested in the line:
    <pre jivemacrouid="_1376955648594262" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_1376955648594262">Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Which immediately proceeds the exception.
    To turn on this mass of debug I:
    <pre jivemacrouid="_13769559423811728" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13769559423811728">oracle.jdbc.pool.level=FINE
    org.level=FINE
    java.level=FINE
    javax.level=FINE
    com.level=FINE
    sun.level=FINE
    oracle.jdbc.level=INFO
    oracle.sql.level=FINE
    oracle.jdbc.handlers=java.util.logging.ConsoleHandler
    Run eclipse from the command-line (Linux) after setting JAVAOPTIONS.  Sorry can't tell you off the top of my head what you need to do in Windows.
    bsmith &gt; export JAVAOPTIONS='-Doracle.jdbc.Trace=true'bsmith > eclipse &
    <pre jivemacrouid="_13769558284387639" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13769558284387639">Aug 19, 2013 4:09:37 PM org.glassfish.persistence.jpa.JPADeployer event
    FINE: JpaDeployer.event(): Handling APPLICATION_PREPARED origin is:deploy
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA
    DEBUG: Found javax.persistence.Persistence on classpath containing 'getPersistenceUtil'. Assuming JPA 2 environment. Trying to instantiate JPA aware TraversableResolver
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA
    DEBUG: Instantiated JPA aware TraversableResolver of type org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream
    DEBUG: Trying to load META-INF/validation.xml for XML based Validator configuration.
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream
    DEBUG: No META-INF/validation.xml found. Using annotation based configuration only.
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.naming.impl.SerialInitContextFactory getInitialContext
    FINE: getInitialContext: env={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory}
    Aug 19, 2013 4:09:37 PM NamedNamingObjectManager tryNamedProxies
    FINE: found a new proxy for
    Aug 19, 2013 4:09:37 PM org.eclipse.persistence.session.file:/tmp/gfembed1088134816527298857tmp/applications/test/test_war/WEB-INF/lib/test.jar_esaarch01-pu
    INFO: EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20130507-3faac2b
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getInstance
    FINE: returning the connector registry
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl allocateConnection
    FINE: RAR5036:Resource reference is not defined for JNDI name
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getInstance
    FINE: returning the connector registry
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In equals
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getDescriptor
    FINE: Found/returing Connector descriptor in connector registry.
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl logFine
    FINE: ConnectionMgr: poolName ArquillianOraclePool  txLevel : 1
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.pool.PoolManagerImpl logFine
    FINE: Returning noTxResourceManager
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In createManagedConnection
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In equals
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Public Enter: 
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Public Enter: 
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource makeURL
    SEVERE: 37A26011 Throwing SQLException: 67OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource makeURL
    SEVERE: 37A26011 Throwing SQLException: 67OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.DSManagedConnectionFactory createManagedConnection
    FINE: jdbc.exc_create_conn
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator createResource
    WARNING: RAR5038:Unexpected exception while creating resource for pool ArquillianOraclePool. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator createResource
    FINE: Resource Exception while creating resource
    javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1189)
        at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1512)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
        at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
        at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
        at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
        at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
        at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
        at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
        at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
        at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:297)
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
        ... 136 more
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.pool.ConnectionPool createSingleResource
    FINE: Connection creation failed for 1 time. It will be retried, if connection creation retrial is enabled.
    com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:110)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1189)
        at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1512)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
        at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
        at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
        at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
        at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
        at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
        at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
        at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
        at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
        ... 135 more
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:297)
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
        ... 136 more
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl internalGetConnection
    WARNING: RAR5117 : Failed to obtain/create connection from connection pool . Reason : com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.base.AbstractDataSource logNonTransientException
    WARNING: jdbc.exc_get_conn
    Aug 19, 2013 4:09:37 PM org.eclipse.persistence.session.file:/tmp/gfembed1088134816527298857tmp/applications/test/test_war/WEB-INF/lib/test.jar_esaarch01-pu.ejb
    SEVERE: 
    Local Exception Stack: 
    Exception (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Error Code: 0
        at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeO

    a3828ac4-c7f0-4056-9257-758656c7282f wrote:
    Doesn't the following come from OJDBC and hence is Oracle DB related?
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
    From my perspective, if the connection request does not make it to the listener which runs on the DB Server, then the error is external to Oracle & so is the fix.
    EVERY connection request that is received by the listener is logged into listener.log file.
    If nothing is logged, then the problem occurs before any real Oracle software is contacted.
    You can continue to blame Oracle but it won''t get you any closer to finding the root cause or any solution.
    when was the last time this worked without error?
    What changed since then?

  • An IOException was thrown trying to access the WSDL at the given URL.

    Hello
    I deployed webservices on weblogic 8.1.5. I defined Security policy on webservices. The server is allowed to access from both inside and outside our domain. When I access with internal ip address, trying to test methods from Launch Test Page from Admin console. When I test a method, it prompts for user name and password. I enter username and password, the invocation is successful.
    After I access Launch Test Page with external ipaddress (from outside the domain), trying to test method, the server did not ask me username and password, I get following exception. The only port open to external world is 80. The apache is configured with wlplugin and divert all trafic to port 7001.
    I was wondering if any one has seen this and how did you fix. Please advise. I appriciate your help.
    Thank you,
    Balaji
    <Apr 18, 2006 5:50:12 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    <Apr 18, 2006 5:50:12 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
    java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
    at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    <Apr 18, 2006 5:51:32 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    <Apr 18, 2006 5:51:32 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
    java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
    at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    <Apr 18, 2006 5:54:57 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    <Apr 18, 2006 5:54:57 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
    java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
    at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)<pre></pre><pre></pre>urlurl

    Hi Francois,
    The JAR file generated by the <clientgen> Ant task, has a static WSDL inside it.
    To get your JAX-RPC client to use it, write code that looks like this:
    MyService_Impl service = null;
    MyServicePort port = null;
    try
    // There are two constructors for every XXX_Impl class.
    // The one that accepts a wsdlURL (as a String) will
    // request the WSDL from the service provider. The
    // no-arg one will just use the statis WSDL in the
    // client.jar generated by the <clientgen> Ant task.
    service = new MyService_Impl();
    port = service.getMyServicePort();
    MyObject response = port.myServiceOperation();
    Again, this will cause the WLS client-side JAX-RPC classes, in the webserviceclient.jar,
    to use the static WSDL (in the client.jar generated by the <clientgen> Ant task)
    to invoke the target web service. It will not send a request to the target web
    service to retrieve it's WSDL, because it already has it.
    Regards,
    Mike Wooten
    Francois Staes <[email protected]> wrote:
    >
    Hello,
    I'm trying to access some simple web services which are implemented using
    some Perl module (don't ask ....).
    After I've gotten their WSDL file, I can successfully generate stubs
    using
    the clientgen ant task.
    However, when I try to access the webservice from within my EJB's, I
    get the
    following error message:
    An IOException was thrown trying to access the WSDL at the given URL.
    java.io.FileNotFoundException: Response: '411: Length Required' for url:
    'http://petest01:8082/cgi-bin/WebStore.cgi'
    It seems as if the perl SOAP implementation doesn't allow me to check
    their
    WSDL file. Just sending the SOAP POST messages works fine.
    I explicitly specified the 'saveWSDL' option to the clientgen task, but
    it
    still tries to access the WSDL file at runtime. Any way to resolv this
    issue?
    Regards,
    Francois Staes.

  • Payload definition based on url based xsd with authentication required

    After importing an xml schema from a URL location, I receive an error when attempting to define message payloads types:
    Exception - Unable to parse schema logininfo.xsd
    Server returned HTTP response code: 401 for URL
    That is because the logininfo.xsd imports type definitions from another schema (which is exactly on the same directory on the remote server, same owner):
    <xs:import namespace="http://sru/profile" schemaLocation="http://joekill:8080/public/profile.xsd"/>
    Any way to get around this?

    Same problem exists with bpel designer 10.1.2.
    Exception: Server returned HTTP response code: 401 for URL: http://joekill:8080/public/logininfo.xsd
    hence, it seems I cannot define a schema for input elements of a bpel process that inherit types from other schemas if those are in an authentication-required webserver (xdb via webdav, in my case)
    can anybody else confirm this?

  • The host couldn't be resolved. Please check your URL.

    Hi
    I am new to PeopleSoft Integration Broker. I am getting the above error while trying to post XML to a third party URL using IB (Integration Broker)
    * We have to post a non SOAP message to the specified URL
    * The sample XML structure has the following main node
    <EmplVerify account="9999" password="dfjdkfd" userId="user" xmlns="http://ns.hrxml.org" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="http://ns.hrxml.org http://ns.hrxml.org/2_2/HRXML2_2/projection/EmplVerify.xsd">
    </EmplVerify>
    * The node has been configured with http target with the given url. (https://test.sample.com/kdl/....../emplverify.cfm)
    * The WS Security is none
    * The Service , Service Operation, Messages with XSD, routing etc has been done.
    * The SSL certification for the third party site has been installed in the web server.
    There are no firewall issues. I am able to telnet to the URL domain. Assume that we dont have any server related issue. The following are the questions.
    1. Is there any specific question I should put forward to the third part in order to configure the node?
    2. Should the service name, operation name or message name should match the main node name?
    3. Is there any specific IB setup or PS domain we might be missing here?
    Thank you very much for the help in advance.

    I have this problem as well and it's driving me crazy. Since I do not have an airprint printer, I have to upload everything to iwork to be able to then send it to another program to print. So until Apple fixes this, I cannot print from my iPad.
    VERY frustrating. This has been happening off and on for a couple of weeks.

  • Java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL;

    java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL.
    Gettin exception while trying to execute clientGen from build.xml from eclipse using Oracle weblogic 10.3 server.
    I tried with both jars jaxws-rt-2.1.4 and jaxws-rt-2.1.3
    Regards,
    Manish

    along with wlfullclient.jar please add wseeclient.jar
    Copy the file WL_HOME/server/lib/wseeclient.zip from the computer hosting WebLogic Server to the client computer( where WL_HOME refers to the WebLogic Server installation directory, such as /Oracle/Middleware/wlserver_12.1)
    Unzip the wseeclient.zip file into the appropriate directory. For example, you might unzip the file into a directory that contains other classes used by your client application.
    Add the wseeclient.jar file (unzipped from the wseeclient.zip file) to your CLASSPATH.
    Note:
    Also be sure that your CLASSPATH includes the JAR file that contains the Ant classes (ant.jar). This JAR file is typically located in the lib directory of the Ant distribution.
    http://docs.oracle.com/cd/E24329_01/web.1211/e24967/client.htm#WSRPC214
    Regards,
    Sunil P

  • Xsi:schemaLocation and repository write , read problem.

    I registered the schema which had targe namespace.
    I checked it out with EM XML Schema.
    schema url : http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd
    Owner : FINESUSER
    Scope : PUBLIC
    first part of the schema text from EM
    <?xml version="1.0"?>
    <schema targetNamespace="http://www.xbrl.org/2003/linkbase" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:flags="307" oraxdb:schemaURL="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" oraxdb:schemaOwner="FINESUSER" oraxdb:numProps="86">
    I got a wierd situation when I tried to write the xml document which conformed to the schema with schema location hint
    first part of the xml document
    <?xml version="1.0" encoding="UTF-8" ?>
    <linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31">
    I guessed I successfully writed the xml document into repository with windows explorer using WebDAV protocol.
    but I realized that something was wrong when I tried to read the document from repository clicking the xml document using WebDAV from repository.
    I got a 404 error. I tried it to get from http but only got a 404 error.
    I tried further to read it with JDBC , only failed.
    finally I tried this query. but I got nothing.
    SQL> select extract(r.RES,'/r:Resource/r:Contents/*','xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"').getClobVal()
    from resource_view r where equals_path(res,'/FINES_REPOSITORY/linkbase/label/kisinfo-ratio-2007-02-09-label.xml') = 1;
    EXTR
    1 rows selected.
    but I happend to succeed to write and read it when I changed the xsi:schemaLocation declaration to incorrect name or omitted it out,
    xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-30.xsd -> incorrect name
    or
    omitted it out
    what's happening ?
    I'm positive that the xml document is valid , I check it with XMLSpy.

    Since you are working with XBRL I would strongly recommend upgrading to 11g at the earliest possible opportunity. If you can send me your taxonomy and instance documents I will check the query out in 11g.

  • Clientgen for password protected WSDL

    Hi,
    I am trying to invoke an SAP web service. But I am not able to run the clientgen ANT task since the WSDL is password protected. This used to run earlier without any problem when it was public. Please help. Here is the error:
    [clientgen] <Aug 8, 2006 2:17:48 PM EDT> <Info> <WebService> <BEA-220094> <An IOException
    was thrown trying to access the WSDL at the given URL.>
    [clientgen] <Aug 8, 2006 2:17:49 PM EDT> <Info> <WebService> <BEA-220034> <A stack trace a
    ssociated with message 220094 follows:
    [clientgen] java.io.IOException: Server returned HTTP response code: 401 for URL: http://p
    rh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER
    [clientgen] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    [clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
    onFactory.java:113)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
    ClientGenImpl.java:396)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
    va:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
    tGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
    Task.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
    ner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
    nner.java:137)
    [clientgen] >
    [clientgen] weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL fr
    om http://prh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSF
    ER. Please check the URL and make sure that it is a valid XML file [java.io.IOException: S
    erver returned HTTP response code: 401 for URL: http://prh458.pr.us.pri.com:8094/sap
    /bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER]
    [clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
    onFactory.java:153)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
    ClientGenImpl.java:396)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
    va:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
    tGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
    Task.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
    ner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
    nner.java:137)

    You can try to open the documents with a password that is guaranteed to be wrong, i.e. a password that isn't used for any of the documents. If the document has no password, Word will open it without complaining - it only checks the password if the document
    is password-protected. If the document does have a password, error 5408 will occur, and you can trap this error with an error handler. For example, with a variable doc of type Document and a variable strPath of type String that contains the full path of a
    document:
    On Error Resume Next
    Set doc = Documents.Open(FileName:=strPath, PasswordDocument:="!@#$%")
    If Err = 0 Then ' no error occurred
    ' Process the document
    ' And close it
    doc.Close SaveChanges:=True ' or False
    End If
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Set web service url

    Hi!
    I generated web service client using clientgen tool. This client is searching for webservice listening on url specified in wsdl. Is there any chance to change the target endpoint address like setting some property so there would be no need to generate client (with wsdl with new address) again?
    This is how i prepare call parameters:
    SfOXPReports_Impl service= new fOXPReports_Impl();
    SfOXPReportsSoap client= service.getSfOXPReportsSoap();
    // web service call
    SCReportMerge mergeResult= SCReportMergeDocument.Factory.parse(client.merge(mergeParam.xmlText())).getSCReportMerge();
    Any suggestion?
    Edited by DJmanta at 04/11/2008 3:52 AM
    Edited by DJmanta at 04/11/2008 3:54 AM
    Edited by DJmanta at 04/11/2008 3:54 AM

    You can set the property:
    stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, your_url);

  • Fully qualified elements in clientgen ant task

    I think that ant clientgen task from WLS 10.3.3 is ignoring XSD parameter elementFormDefault="qualified". I generated client with this task and then sent simple request to webmethods server (i don't know version of this server either implementation of webservices on it) and i received bellow error:
    *javax.xml.ws.soap.SOAPFaultException: [ISS.0088.9112] An Exception was thrown in the server:{0}*
    After some investigation i had notice that webmethods server is answered with followed response:
    +<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body>+
    +<SOAP-ENV:Fault>+
    +<faultcode>SOAP-ENV:Server</faultcode>+
    +<faultstring>[ISS.0088.9112] An Exception was thrown in the server:{0}</faultstring>+
    +<faultactor>http://ip:6080/soap/inbound</faultactor>+
    +<detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">+
    +<webM:exception>+
    +<webM:className>com.wm.lang.flow.FlowException<;/webM:className>+
    +<webM:message xml:lang="">java.lang.Exception: missing required parameter 'document'</webM:message>+
    +</webM:exception>+
    +</detail>+
    +</SOAP-ENV:Fault>+
    +</SOAP-ENV:Body>+
    +</SOAP-ENV:Envelope>+
    but request had document element in it:
    +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><metadata xmlns="http://ns"><processGroup>PR</processGroup></metadata></S:Header><S:Body><document xmlns="http://ns"><binary>some binary</binary></document></S:Body></S:Envelope>+
    after some modification i created fixed elements for body tag like this:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >+
    +<soapenv:Header>+
    +<ns:metadata xmlns:ns="http://ns">+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document xmlns:ns="http://ns">+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    sent it ... and response was fine!
    When I create request in Altova XMLSPY or in SOAPUI  requests are correct (with qualified elements - see below)
    Example request from soapui:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ns">+
    +<soapenv:Header>+
    +<ns:metadata>+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document>+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    My WSDL*
    +<wsdl:definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/";+
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns="http://ns" xmlns="http://ns" name="ReceiveRequest" targetNamespace="http://ns">
    +<wsdl:documentation>This WSDL document contains an implementation of the ns Inbound Web Service.</wsdl:documentation>+
    +<wsdl:types>+
    +<xs:schema>+
    +<xs:import schemaLocation="xsd/data.xsd"; namespace="http://ns"/>+
    +</xs:schema>+
    +</wsdl:types>+
    +<wsdl:message name="metadata">+
    +<wsdl:part name="metadata" element="ns:metadata">+
    +<wsdl:documentation>the meta data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="document">+
    +<wsdl:part name="document" element="ns:document">+
    +<wsdl:documentation>the input data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="receiveRequestOutput">+
    +<wsdl:part name="response" element="ns:processingResponse">+
    +<wsdl:documentation>the output data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:portType name="ns_backend_SOAPPortType">+
    +<wsdl:operation name="receiveRequest">+
    +<wsdl:input message="ns:document"/>+
    +<wsdl:output message="ns:receiveRequestOutput"/>+
    +</wsdl:operation>+
    +</wsdl:portType>+
    +<wsdl:binding name="ns_backend_SOAPBinding" type="ns:ns_backend_SOAPPortType">+
    +<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>+
    +<wsdl:operation name="receiveRequest">+
    +<soap:operation soapAction="receiveRequest" style="document"/>+
    +<wsdl:input>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body parts="document" use="literal"/>+
    +</wsdl:input>+
    +<wsdl:output>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body use="literal"/>+
    +</wsdl:output>+
    +</wsdl:operation>+
    +</wsdl:binding>+
    +<wsdl:service name="ReceiveRequest">+
    +<wsdl:port name="ns_backend_SOAPPort0" binding="ns:ns_backend_SOAPBinding">+
    +<soap:address location="https://ip:6080/soap/inbound"/>+
    +</wsdl:port>+
    +</wsdl:service>+
    +</wsdl:definitions>+
    And XSD*
    +<?xml version="1.0"; encoding="UTF-8"?>+
    +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://ns" targetNamespace="http://ns" elementFormDefault="qualified" attributeFormDefault="unqualified">+
    +<xs:element name="metadata" type="ns:metadataType"/>+
    +<!-- Request header meta data -->+
    +<xs:complexType name="metadataType">+
    +<xs:sequence>+
    +<xs:element name="processGroup" type="xs:string" nillable="false"/>+
    +<xs:element name="processName" type="xs:string" nillable="false"/>+
    +<xs:element name="applReqID" type="xs:string" nillable="false"/>+
    +<xs:element name="correlationID" type="xs:string" minOccurs="0"/>+
    +<xs:element name="sender" type="xs:string" minOccurs="0"/>+
    +<xs:element name="receiver" type="xs:string" minOccurs="0"/>+
    +<xs:element name="documentVersion" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Value" type="xs:string" minOccurs="0"/>+
    +<!-- 7.1 fields: typeFlag, replyTo, tags -->+
    +<xs:element name="typeFlag" type="xs:string" minOccurs="0"/>+
    +<xs:element name="replyTo" type="xs:string" minOccurs="0"/>+
    +<xs:element name="tags" type="xs:string" minOccurs="0"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +<!-- Response body part -->+
    +<xs:element name="processingResponse" type="ns:processingResponseType"/>+
    +<xs:complexType name="processingResponseType">+
    +<xs:all>+
    +<xs:element name="timeStamp" type="xs:string"/>+
    +<xs:element name="processStatus" type="xs:string"/>+
    +<xs:element name="responseMessage" type="xs:string"/>+
    +<xs:element name="applReqID" type="xs:string"/>+
    +<xs:element name="correlationID" type="xs:string"/>+
    +</xs:all>+
    +</xs:complexType>+
    +<!-- Request body part-->+
    +<xs:element name="document" type="ns:documentType"/>+
    +<xs:complexType name="documentType">+
    +<xs:sequence>+
    +<xs:element name="binary" type="xs:base64Binary"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +</xs:schema>+
    And Ant task*
    +<target name="wsdlc">+
    +<taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"; classpathref="weblogic.jar.classpath";/>+
    +<wsdlc srcWsdl="wsdls/${wsdl_url}" jaxrpcwrappedarraystyle="false"+
    +destJwsDir="./src/${package_name}/" packageName="pl.nbp.exdi.${package_name}" type="JAXWS"+
    +explode="true" />+
    _*How to force clientgen to create fully qualified elements in request ?*_

    And one more thing: I deploy it on WLS 12c.

Maybe you are looking for

  • HT3819 can more than one apple ID use a apple TV?

    My wife an I both have our own Apple ID's and our own Macbooks.  How do we both access our apple TV?

  • Error While Creating on a View

    dear All i am getting this erro while executing Create Process For table Employee Detail entity EmployeeEO with row key null cannot find or invalidate its owning entity. Please Advise

  • I am editing an e book. How do I delete a first line indent?

    In a 'Pages' e-book, how can I delete first-line indent on every paragragh?

  • Exception thrown While Depolying

    Hi friends, I'm new to EJB. I wrote the following code in JMS but it throwing exception while deployment. I'm using JBoss4.2.0CR2 application server. MyCode is following LogBean.java package messagedrivenbean; import javax.annotation.PreDestroy; impo

  • Going to Install Mac OS X

    OK, I need to clear my macbook (restore to factory settings) as im selling it. I dont have the correct Install discs, seem to have misplaced/ lost them. I probably have to buy leopard and install that. If I buy that, will it be able to install? Im on