Axis2-1.1.1 How to read attributes from ADB generated Stub classe s?

2007-04-12 Thread FURTADO, Murray, GBM
Hi, 
 
I have some wsdl defined below.
 
The  on QueryType is ignored in my generated Stub class - ie.
there is no way to access the contents of this attribute programatically. 
Is this because attributes aren't supported in Axis 2 yet, or am I doing
something wrong?
 
Many thanks,
 
Murray
 

−
 




−
 


−
 
−
 



−
 





−
 
−
 






***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***


RE: Axis2-1.1.1 (& 1.2-RC2): StringIndexOutOfBoundsException in p arse () method of Stub.InnerClass

2007-04-04 Thread FURTADO, Murray, GBM
Does this mean that generated stub class code will have this change in it in
future releases?
 
Currently, if I make manual changes to my stub class to do this, each time
my web service interface changes, I will have to regenerate my stub and
apply the manual changes again?
 
Will this get folded in to the next release candidate?
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
 

  _  

From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: 04 April 2007 06:25
To: axis-user@ws.apache.org
Subject: Re: Axis2-1.1.1 (& 1.2-RC2): StringIndexOutOfBoundsException in
parse () method of Stub.InnerClass


It is normally assume that the type attribute value has a namespace prefix.
i.e ns1:complexTypeName. that is why we check for ':'
but if the complex type belongs to the default namespace the we may not have
the namespace prefix as you have mentioned. 
so I change the method as follows,
java.lang.String nsPrefix = null;
if (fullTypeName.indexOf(":") > -1){
nsPrefix =
fullTypeName.substring(0,fullTypeName.indexOf (":"));
        }


On 4/3/07, FURTADO, Murray, GBM <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

Hi,
 
I have adb generated stub classes which are subclasses of a common parent
(XPortfolioProduct). In the static method to create the parent class object
I have code as follows:
 
 
   /**
* static method to create the object
* Precondition:  If this object is an element, the current or next
start element starts this object and any intervening reader events are
ignorable
*If this object is not an element, it is a complex
type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is
positioned at its end element
*If this object is a complex type, the reader is
positioned at the end element of its outer element
*/
public static XPortfolioProduct
parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
XPortfolioProduct object = new XPortfolioProduct();
int event;
try {

while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
 

if
(reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type";
)!=null
<http://www.w3.org/2001/XMLSchema-instance%22,%22type%22%29%21=null> ){
  java.lang.String fullTypeName =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> ",
"type");
  if (fullTypeName!=null){
java.lang.String nsPrefix =
fullTypeName.substring(0,fullTypeName.indexOf(":"));<--- String index
out of range: -1
nsPrefix = nsPrefix==null?"":nsPrefix;
 
java.lang.String type =
fullTypeName.substring(fullTypeName.indexOf(":")+1);
if (!"XPortfolioProduct".equals(type)){
//find namespace for the prefix
java.lang.String nsUri =
reader.getNamespaceContext().getNamespaceURI(nsPrefix);
return
(XPortfolioProduct)ExtensionMapper.getTypeObject(
 nsUri,type,reader);
  }
  }
 }...
 
The fullTypeName = 'SubClassName'  and doesn't contain a colon, so a
StringIndexOutOfBoundsException is thrown.
 
Any idea why this is happening?
 
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 (  +44 207 085 0748 | * [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
 

***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 


Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 


by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 



Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient 

Axis2-1.1.1 (& 1.2-RC2): StringIndexOutOfBoundsException in parse () method of Stub.InnerClass

2007-04-03 Thread FURTADO, Murray, GBM
Hi,
 
I have adb generated stub classes which are subclasses of a common parent
(XPortfolioProduct). In the static method to create the parent class object
I have code as follows:
 
 
   /**
* static method to create the object
* Precondition:  If this object is an element, the current or next
start element starts this object and any intervening reader events are
ignorable
*If this object is not an element, it is a complex
type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is
positioned at its end element
*If this object is a complex type, the reader is
positioned at the end element of its outer element
*/
public static XPortfolioProduct
parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
XPortfolioProduct object = new XPortfolioProduct();
int event;
try {

while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
 

if
(reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type";
)!=null  ){
  java.lang.String fullTypeName =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance
 ",
"type");
  if (fullTypeName!=null){
java.lang.String nsPrefix =
fullTypeName.substring(0,fullTypeName.indexOf(":"));<--- String index
out of range: -1
nsPrefix = nsPrefix==null?"":nsPrefix;
 
java.lang.String type =
fullTypeName.substring(fullTypeName.indexOf(":")+1);
if (!"XPortfolioProduct".equals(type)){
//find namespace for the prefix
java.lang.String nsUri =
reader.getNamespaceContext().getNamespaceURI(nsPrefix);
return
(XPortfolioProduct)ExtensionMapper.getTypeObject(
 nsUri,type,reader);
  }
  }
 }...
 
The fullTypeName = 'SubClassName'  and doesn't contain a colon, so a
StringIndexOutOfBoundsException is thrown.
 
Any idea why this is happening?
 
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
 
 

***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***


RE: [Axis2] Axis2 1.2 RC2 Released

2007-04-03 Thread FURTADO, Murray, GBM
I have now ;-) 


Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED] 
Sent: 03 April 2007 13:40
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Axis2 1.2 RC2 Released

Murray

JFI Did you raise JIRAs for these two bugs?

Paul

On 4/3/07, FURTADO, Murray, GBM <[EMAIL PROTECTED]> wrote:
>
>
> I have found 2 issues in Axis2-1.1.1 which aren't fixed in 1.2RC2
>
> 1) Subclasses using adb databindings are not generated by wsdl2java 
> (see my previous posts for details)
>
> 2) when using xmlbeans databindings, the -ns2p switch on the wsdl2java 
> compiler doesn't seem to be applied to the emitted implementation classes
>   (again, see my previous post for details.)
>
> :-(
>
>
>
> Murray Furtado
> Currency Options Sales Technology
> RBS Global Banking and Markets
> 280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP  ( 
> +44 207 085 0748 | * [EMAIL PROTECTED]
>
>
>  
>  From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
> Sent: 03 April 2007 12:00
> To: axis-dev@ws.apache.org; axis-user@ws.apache.org
> Subject: [Axis2] Axis2 1.2 RC2 Released
>
>
> Hi all,
>
> I uploaded Axis2 1.2 RC2 release artifacts. Please help us by 
> downloading and reviewing them.
>
> Download locations :
> binary distributions-
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
> source distribution
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
> docs distribution
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
> war distribution
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war
>
> jars
> http://people.apache.org/~deepal/maven/org.apache.axis2/jars/
>
> mars (addressing and soapmonitor)
> http://people.apache.org/~deepal/maven/org.apache.axis2/mars/
>
> poms
> http://people.apache.org/~deepal/maven/org.apache.axis2/poms/
>
>
> According to the release plan, I'm expecting to release Axis2 1.2 on
> 6th   April, 2007.
>
>
> Features included in the release :
> - WSDL 2.0 fully support
> (Reading , writing and codegen)
> - POJO - annotation
> - JAX-WS integration
> - JAX-WS -annotation
> - Un-wrapping (Response)
> - ADB - missing schema support
> - Maven2 support
> - JSON support
> - Binary serialization (Fast Inforset)
> - Multiple services support in code gen
> - HTTP code generation (both WSDL 1.1 and 2.0)
> - Fix/update helper mode
> - Custom deployers support
> - Message formatters
> - Message Builders
>
> In addition to above major features we have fixed numerous JIRA issues.
>
>
> Thanks,
>  Deepal
>
> **
> * The Royal Bank of Scotland plc. Registered in Scotland 
> No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the addressee only. 
> If the message is received by anyone other than the addressee, please 
> return the message to the sender by replying to it and then delete the 
> message from your computer. Internet e-mails are not necessarily 
> secure. The Royal Bank of Scotland plc does not accept responsibility 
> for changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of 
> viruses, it is the responsibility of the recipient to ensure that the 
> onward transmission, opening or use of this message and any 
> attachments will not adversely affect its systems or data. No 
> responsibility is accepted by The Royal Bank of Scotland plc in this 
> regard and the recipient should carry out such virus and other checks 
> as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbsgc.com
> www.rbsmarkets.com
> **
> *
>
>


--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2] Axis2 1.2 RC2 Released

2007-04-03 Thread FURTADO, Murray, GBM
I have found 2 issues in Axis2-1.1.1 which aren't fixed in 1.2RC2 
 
1) Subclasses using adb databindings are not generated by wsdl2java (see my
previous posts for details)
 
2) when using xmlbeans databindings, the -ns2p switch on the wsdl2java
compiler doesn't seem to be applied to the emitted implementation classes 
  (again, see my previous post for details.)  
 
:-(
 
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
 
 

  _  

From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: 03 April 2007 12:00
To: axis-dev@ws.apache.org; axis-user@ws.apache.org
Subject: [Axis2] Axis2 1.2 RC2 Released


Hi all,

I uploaded Axis2 1.2 RC2 release artifacts. Please help us by downloading
and reviewing them.

Download locations :
binary distributions-
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
 
source distribution 
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
 
docs distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
 
war distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war
 

jars
http://people.apache.org/~deepal/maven/org.apache.axis2/jars/
 

mars (addressing and soapmonitor)
http://people.apache.org/~deepal/maven/org.apache.axis2/mars/
 

poms
http://people.apache.org/~deepal/maven/org.apache.axis2/poms/
 


According to the release plan, I'm expecting to release Axis2 1.2 on
6th   April, 2007.


Features included in the release :
- WSDL 2.0 fully support
(Reading , writing and codegen)
- POJO - annotation 
- JAX-WS integration
- JAX-WS -annotation
- Un-wrapping (Response) 
- ADB - missing schema support 
- Maven2 support
- JSON support 
- Binary serialization (Fast Inforset)
- Multiple services support in code gen 
- HTTP code generation (both WSDL 1.1 and 2.0)
- Fix/update helper mode 
- Custom deployers support
- Message formatters
- Message Builders

In addition to above major features we have fixed numerous JIRA issues.


Thanks,
 Deepal



***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***


-n2sp not working with xmlbeans

2007-04-02 Thread FURTADO, Murray, GBM
Hi,
 
I want to override the default package my xml beans get generated in. 
 
I issue my wsdl2java command with eg -ns2p http://www.xyx.com=com.abc.efg
   or -ns2p www.xyx.com=com.abc.efg
  
When I do so, my classes get generated in a package com.xyx.www.impl 
 
Am I doing something wrong?
 
Regards,
 
Murray
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
 
 

***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***


RE: Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!

2007-04-02 Thread FURTADO, Murray, GBM
Ok,

I regenerated with xml beans and it generated the appropriate subclasses, so
it must be an issue with ADB.

Regards,

Murray

 


Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]

-Original Message-
From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] 
Sent: 02 April 2007 12:48
To: axis-user@ws.apache.org
Subject: Re: Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!

Hi,
ADB did not support extensions before but AFAIK all such issues were taken
care of. would it be possible to run codegen with XMLBeans just to see
whether its a problem with ADB or the schema ?

On 4/2/07, FURTADO, Murray, GBM <[EMAIL PROTECTED]> wrote:
>
>
> Hello again...
>
> Can anyone help me with my question? I can't imagine I am the only 
> person trying to use subclasses with Axis2.
> Could it be a bug in Axis2 - perhaps it is not handling the tns 
> namespace prefix in   
> correctly, and skipping the generation of subclasses because it 
> doesn't realise that tns means 'this name space'?
>
> Any thoughts???
>
> Many thanks,
>
> Murray
>
>
>  
>  From: FURTADO, Murray, GBM
> Sent: 30 March 2007 12:36
> To: 'axis-user@ws.apache.org'
> Subject: Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!
>
>
>
> Hi,
>
> we have a class XPortfolioProduct, defined by the following wsdl:
>
>   
> 
> 
>  type="s:double"/>
>  type="s:string"/>
> ...
> 
> 
>
> We have a number of subclasses of XPortfolioProduct, a couple of which 
> are shown defined below:
>
> 
>  
>  
>  
>  type="s:double"/>
>  type="s:string"/>
>  type="s:string"/>
>  type="s:dateTime"/>
>  type="s:string"/>
>   
> 
> 
> 
>
>mixed="false">
> 
>  type="s:string"/>
>  type="s:string"/>
>  type="s:string"/>
>  type="s:string"/>
>  type="s:double"/>
>  type="tns:DavroFixingElement"/>
>  type="s:double"/>
> 
> 
> 
> 
>
> When using wsdl2java using the adb databinding, this generates a 
> Stub.XPortfolioProduct inner class, but no Stub.FVADetails and 
> Stub.DoubleAverageRateDetails classes.
>
> Can anyone tell me why this is happening? This wsdl generates the 
> correct classes using Axis 1.4, but not with Axis2.-1.1.1
>
> Thanks in advance,
>
> Murray
>
>
> Murray Furtado
> Currency Options Sales Technology
> RBS Global Banking and Markets
> 280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP  ( 
> +44 207 085 0748 | * [EMAIL PROTECTED]
> **
> * The Royal Bank of Scotland plc. Registered in Scotland 
> No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the addressee only. 
> If the message is received by anyone other than the addressee, please 
> return the message to the sender by replying to it and then delete the 
> message from your computer. Internet e-mails are not necessarily 
> secure. The Royal Bank of Scotland plc does not accept responsibility 
> for changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of 
> viruses, it is the responsibility of the recipient to ensure that the 
> onward transmission, opening or use of this message and any 
> attachments will not adversely affect its systems or data. No 
> responsibility is accepted by The Royal Bank of Scotland plc in this 
> regard and the recipient should carry out such virus and other checks 
> as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbsgc.com
> www.rbsmarkets.com
> **
> *
>
>


--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!

2007-04-02 Thread FURTADO, Murray, GBM
Hello again...
 
Can anyone help me with my question? I can't imagine I am the only person
trying to use subclasses with Axis2. 
Could it be a bug in Axis2 - perhaps it is not handling the tns namespace
prefix in   correctly, and 
skipping the generation of subclasses because it doesn't realise that tns
means 'this name space'?
 
Any thoughts???
 
Many thanks,
 
Murray
 

  _____  

From: FURTADO, Murray, GBM 
Sent: 30 March 2007 12:36
To: 'axis-user@ws.apache.org'
Subject: Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!


Hi,
 
we have a class XPortfolioProduct, defined by the following wsdl:
 

 




...


 
We have a number of subclasses of XPortfolioProduct, a couple of which are
shown defined below:
 

 
 
 





  



 

 
 
 











 
When using wsdl2java using the adb databinding, this generates a
Stub.XPortfolioProduct inner class, but no Stub.FVADetails and
Stub.DoubleAverageRateDetails classes.  
 
Can anyone tell me why this is happening? This wsdl generates the correct
classes using Axis 1.4, but not with Axis2.-1.1.1  
 
Thanks in advance,
 
Murray
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
 

***

The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 

Authorised and regulated by the Financial Services Authority 

 

This e-mail message is confidential and for use by the 

addressee only. If the message is received by anyone other 

than the addressee, please return the message to the sender 

by replying to it and then delete the message from your 

computer. Internet e-mails are not necessarily secure. The 

Royal Bank of Scotland plc does not accept responsibility for 

changes made to this message after it was sent. 



Whilst all reasonable care has been taken to avoid the 

transmission of viruses, it is the responsibility of the recipient to 

ensure that the onward transmission, opening or use of this 

message and any attachments will not adversely affect its 

systems or data. No responsibility is accepted by The 

Royal Bank of Scotland plc in this regard and the recipient should carry 

out such virus and other checks as it considers appropriate. 

Visit our websites at: 

www.rbs.com

www.rbsgc.com

www.rbsmarkets.com


***


Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!

2007-03-30 Thread FURTADO, Murray, GBM
Hi,
 
we have a class XPortfolioProduct, defined by the following wsdl:
 

 




...


 
We have a number of subclasses of XPortfolioProduct, a couple of which are
shown defined below:
 

 
 
 





  



 

 
 
 











 
When using wsdl2java using the adb databinding, this generates a
Stub.XPortfolioProduct inner class, but no Stub.FVADetails and
Stub.DoubleAverageRateDetails classes.  
 
Can anyone tell me why this is happening? This wsdl generates the correct
classes using Axis 1.4, but not with Axis2.-1.1.1  
 
Thanks in advance,
 
Murray
 
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets 
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP 
 ( +44 207 085 0748 | * [EMAIL PROTECTED]
 
 

***
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***