RE: How best to transform a XML file into a message.

2009-04-02 Thread Alastair FETTES
Hi Mike. The Java route for different versions of the WSDL is a very good solution. Especially if you couple this with Maven2 and the use of an artifact repository such as Archiva (http://archiva.apache.org/). Then, you can construct an individual, versioned JAR file for each version of the

RE: How best to transform a XML file into a message.

2009-04-02 Thread Alastair FETTES
Mike. Thanks, I'll look at that but couldn't I just use subversion for that? If I find a new wsdl file, I can just copy if over a local svn check out, commit the new one, and then go back and play around if needed. That's true you can do that. I would only suggest going that route if you

RE: SOAP-ENV versus soapenv

2008-01-11 Thread Alastair FETTES
Hi Andrew. Theoretically soapenv should be perfectly acceptable. Irregardless of what the prefix is, as long as the actual namespace is the same it should recognize things appropriately. Take this silly example: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

[Axis2C] Casting away const

2008-01-09 Thread Alastair FETTES
* env); /snippet Note that the return value is a CONST axis2_char_t*. The const attribute of this pointer is being removed via the cast. Is this expected functionality? If not I suggest you research all functions that return axis2_char_t*. Regards. Alastair Fettes This e-mail and any attachments

[Axis2] Changes to WSDL2Java generated MessageReceiverInOut class

2008-01-03 Thread Alastair FETTES
again, thanks very much for your time and efforts on this project. Sincerely, Alastair Fettes This e-mail and any attachments are intended solely for the use of the intended recipient(s) and may contain legally privileged, proprietary and/or confidential information. Any use, disclosure

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread Alastair FETTES
Samir. If your clients can't handle the difference between ns:fieldName xmlns:ns=foo0/ns:fieldName and fieldName xmlns=foo0/fieldName then I wouldn't bother using SOAP or web services. These are equivalent in XML. I can understand suppressing the prefix in regards to efficency and the size of

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread Alastair FETTES
;Success/errorMsg /ns:return /ns:getAuthXResponse Samir --- Alastair FETTES [EMAIL PROTECTED] wrote: Samir. If your clients can't handle the difference between ns:fieldName xmlns:ns=foo0/ns:fieldName and fieldName xmlns=foo0/fieldName then I wouldn't bother using SOAP or web

[Axis2] Server response message headers

2007-12-10 Thread Alastair Fettes
that I create manually I can set their qname, etc but how do I set the _contents_ of this header? Example header: soapenv:Header Server xmlns=foo.orgbar.server.com/Server /soapenv:Header Thanks in advance. Alastair Fettes MacDonald, Dettwiler and Associates afettes at mdacorporation dot com

RE: log4j use in skeletons

2007-12-10 Thread Alastair FETTES
I suggest using commons-logging as your wrapper around log4j. Make sure to code it for optimization: if (log.isDebugEnabled()) { log.log(Message); } Things like that. Cheers. From: Rachel Primrose [mailto:[EMAIL PROTECTED] Sent: Monday, December 10,

WSDL2C Defects

2007-11-29 Thread Alastair FETTES
find an example of setting custom headers on the client side? I.e. I need to add my interface version to the SOAP header but do not know how to do this. Thanks in advance. Alastair Fettes MacDonald, Dettwiler and Associates This e-mail and any attachments are intended solely for the use

RE: AXIOM as XML Beans alternative

2007-05-31 Thread Alastair FETTES
[mailto:[EMAIL PROTECTED] Sent: Wed 5/30/2007 6:42 PM To: Apache AXIS C User List Subject: Re: AXIOM as XML Beans alternative Alastair FETTES wrote: I have a question about using AXIOM in a slightly different way than the Axis2/C group probably intends. I'm looking for an alternative to XML Beans

AXIOM as XML Beans alternative

2007-05-30 Thread Alastair FETTES
I have a question about using AXIOM in a slightly different way than the Axis2/C group probably intends. I'm looking for an alternative to XML Beans that I can use in the world of C++ but none of the solutions that I have found have been adequate. With the release of 1.0.0 it got me thinking

RE: Namespace problem between header and body

2006-09-19 Thread Alastair FETTES
Just a note: I have encountered this problem as well, quite often I'm afraid. This occurred when I was subclassing and specifically seemed to occur when I ref'd elements from a foreign namespace. To work around this I simply included all items in one namespace. Not an ideal approach but it was

[AxisCPP] Bug in code generation for array types

2006-09-19 Thread Alastair FETTES
). However, in the portType generated class file it attempts to #include fooElement_Array.hpp. This is incorrect and is a bug. Cheers, Alastair Fettes This e-mail and any attachments are intended solely for the use of the intended recipient(s) and may contain legally privileged, proprietary

RE: Namespace problem between header and body

2006-09-19 Thread Alastair FETTES
PROTECTED] Sent: Tuesday, September 19, 2006 2:37 PM To: Apache AXIS C User List Subject: Re: Namespace problem between header and body Alastair FETTES wrote: Just a note: I have encountered this problem as well, quite often I'm afraid. This occurred when I was subclassing and specifically seemed

RE: [Axis2][ANN] Apache Axis2/C 0.93 Released

2006-09-01 Thread Alastair FETTES
Early feedback: The WSDL2C tool would be useful before 1.0. This would allow (potential) users, such as myself, a chance to try things out. Cheers, Alastair -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 4:18 PM To: Apache AXIS C

NullPointerException on invalid URI

2006-08-15 Thread Alastair FETTES
java and c++? Thanks, Alastair Fettes This e-mail and any attachments are intended solely for the use of the intended recipient(s) and may contain legally privileged, proprietary and/or confidential information. Any use, disclosure, dissemination, distribution or copying of this e-mail and any

[Axis] Null message contents with AXISCPP

2006-08-04 Thread Alastair FETTES
I'm currently having a problem running the Axis-C 1.6b. All environment settings have been set as appropriate and I am able to run *simple* methods. I.e. The echoString test case works for me (see attached wsdl). I am correctly able to send the value out and retrieve the mssage back. However,

[Axis] xs:simpleType mapped to class file

2006-08-03 Thread Alastair FETTES
Title: [Axis] xs:simpleType mapped to class file This occurs with WSDL to C++ generation in Axis 1.6b. Alastair Fettes [EMAIL PROTECTED] ext. 2507 This e-mail and any attachments are intended solely for the use of the intended recipient(s) and may contain legally privileged

Recall: [Axis] xs:simpleType mapped to class file

2006-08-03 Thread Alastair FETTES
Title: Recall: [Axis] xs:simpleType mapped to class file Alastair FETTES would like to recall the message, [Axis] xs:simpleType mapped to class file.

[Axis2] Code generation to C

2006-08-02 Thread Alastair FETTES
I've modified the WSDL2Code.bat file from the latest snapshot of the Java trunk. I've changed the code gen call to be: %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% org.apache.axis2.wsdl.WSDL2Code -D org.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.prop erties -l c -uri %1