Re: Changing/Adding SOAP Envelope

2008-07-07 Thread Andy Karseras
On Mon, Jul 7, 2008 at 10:26 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Andy Karseras wrote: Hi, I would like to set the SOAP envelope to a particular Namespace. Why do you want to do this at SOAP envelope level? You can do that at Payload level. Samisa... My aim is to change

Re: Changing/Adding SOAP Envelope

2008-07-07 Thread Manjula Peiris
On Mon, 2008-07-07 at 10:34 -0400, Andy Karseras wrote: My aim is to change ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; soapenv:Header to ?xml version='1.0' encoding='utf-8'? soapenv:Envelope

Re: Changing/Adding SOAP Envelope

2008-07-07 Thread Andy Karseras
On Mon, Jul 7, 2008 at 11:30 AM, Manjula Peiris [EMAIL PROTECTED] wrote: On Mon, 2008-07-07 at 10:34 -0400, Andy Karseras wrote: My aim is to change ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; soapenv:Header

WSDL2C deserialisation problem

2008-07-07 Thread Lefrancois, Carl
Hello List, While deserialising my document, I have the following behaviour: current_node is initialised to NULL An if statement checks current_node to make sure it is not null before deserialising a sub-element. The sub-element can never be created during deserialisation. This is the first

Re: WSDL2C deserialisation problem

2008-07-07 Thread Dimuthu Gamage
Hi Carl, My guess is this has missed the statement current_node = first_node; but it is just a guess. If you can send us the schema part which correspond to adb_CommercialActivityType we can find the error in the logic more easily and find exactly what current_node is. Thanks Dimuthu On Mon, Jul

Re: Failed to load mod_rampart.dll

2008-07-07 Thread yuanhuhu
Hi Shankar, I assume you are using Axis2/C binary version. Yes, that is right. Can you check the version of c:\windows\system32\libeay32.dll and c:\windows\system32\libssl32.dll? You can right click it and get properties and then check the version tab. The version for both dlls is

RE : WSDL2C deserialisation problem

2008-07-07 Thread Lefrancois, Carl
Hi Dimuthu Thanks for the quick response. The schema piece that defines the commercial activity type is xs:complexType name=CommercialActivityType xs:complexContent xs:extension base=ActivityType xs:sequence xs:element

Service Client sending message multiple times to server

2008-07-07 Thread Andy Karseras
Hi, It appears that for some reason, the ServiceClient is sending the message twice to the server in a very short time interval (less than 20 milli-secs). The payload remains the same and it is a a re-send rather than a call being made twice. It may be helpful to note that I am using an AXIS2

Setting HTTP Headers

2008-07-07 Thread Andy Karseras
Hi, Is there any way of setting the following headers using code ? - SOAPAction: urn:anonOutInOp - Transfer-Encoding: chunked I have tried uncommenting the relevant line in the axis.xml for Transfer-Encoding but this didn't seem to work. Many thanks. Andy

Re: RE : WSDL2C deserialisation problem

2008-07-07 Thread Dimuthu Gamage
Hi Carl, I have a test case with the following schema and it works fine xs:complexType name=DiagonalMatrix xs:complexContent xs:extension base=ax21:Matrix xs:sequence xs:element name=somejunk

Re: Service Client sending message multiple times to server

2008-07-07 Thread Samisa Abeysinghe
Andy Karseras wrote: Hi, It appears that for some reason, the ServiceClient is sending the message twice to the server in a very short time interval (less than 20 milli-secs). It sends it twice only if you send it twice. Can you send the client code you are using? Note that, if you are

Re: Setting HTTP Headers

2008-07-07 Thread Samisa Abeysinghe
Andy Karseras wrote: Hi, Is there any way of setting the following headers using code ? - SOAPAction: urn:anonOutInOp Please have a look into the axis2_svc_client.h header. You can find out how to set SOAP action as well as other API info in there. - Transfer-Encoding: chunked If you

Re: Setting HTTP Headers

2008-07-07 Thread Manjula Peiris
On Mon, 2008-07-07 at 17:41 -0400, Andy Karseras wrote: Hi, Is there any way of setting the following headers using code ? - SOAPAction: urn:anonOutInOp - Transfer-Encoding: chunked I have tried uncommenting the relevant line in the axis.xml for Transfer-Encoding but this didn't seem

Re: Setting HTTP Headers

2008-07-07 Thread Samisa Abeysinghe
Manjula Peiris wrote: On Mon, 2008-07-07 at 17:41 -0400, Andy Karseras wrote: Hi, Is there any way of setting the following headers using code ? - SOAPAction: urn:anonOutInOp - Transfer-Encoding: chunked I have tried uncommenting the relevant line in the axis.xml for Transfer-Encoding but

axis2 security

2008-07-07 Thread somineni
Hi friends, I am new to web services.In my application i was developed web services using Axis2 Integration with the Spring Framework configuration.then its working fine now i can see the wsdl file and can call the web service methos from browser.now i want to add web services security(stopping

JAX-WS in Axis2

2008-07-07 Thread Andrew Clegg
Morning all, I'm a little confused about the role of JAX-WS in Axis2. Maybe someone can enlighten me a little. My previous WS experiences were in C# and I've only been investigating the Java options for a month or so. Specifically, there seems to be a lot of overlap between the features

RE: JAX-WS in Axis2

2008-07-07 Thread Virtual Light
JAX-WS with JAXB bindings is your best bet for compatibility across different SOAP engines. Forget about the wsdl2JAVA that is in Axis2 1.4 and use wsimport(contract first)/wsgen(code first). Both of these are now part of JDK 1.6. Date: Mon, 7 Jul 2008 09:48:32 +0100 From: [EMAIL

RE: ADB and MIME attachments

2008-07-07 Thread Scott Waldner
Thilina, Thank you for the information. When you say to use messagecontext.getAttachments(), I assume you mean messagecontext.getAttachmentMap()? I don't see the method getAttachments. I added the following to the stub (I tried this in various places). The contentIDs array comes back

Re: JAX-WS in Axis2

2008-07-07 Thread Andrew Clegg
2008/7/7 Virtual Light [EMAIL PROTECTED]: JAX-WS with JAXB bindings is your best bet for compatibility across different SOAP engines. Forget about the wsdl2JAVA that is in Axis2 1.4 and use wsimport(contract first)/wsgen(code first). Both of these are now part of JDK 1.6. Okay... Thanks.

Tore G Larsen er ikke til stede på kontoret.

2008-07-07 Thread Tore . Larsen
Jeg vil være borte fra kontoret fra og med 07.07.2008 til og med 04.08.2008. Jeg vil svare på meldingen når jeg kommer tilbake. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbie

2008-07-07 Thread pierre posset
Hello, I need to translate this XML in a java classe: soap:Envelope soap:Header wsse:Security SOAP-ENV:mustUnderstand=1 wsse:UsernameToken xsi:type=wsse:UsernameTokenType wsse:Usernameusername/wsse:Username wsse:Password

R: Newbie

2008-07-07 Thread simonemaletta
Hi Pierre, you're trying to make an object from a Procedure Invocation. In the body you find the name of the method, or of the procedure if you like it better, and the Name and Address tags represents parameter of the Procedure. Axiom allows you to parse in a very easy way a SOAP envelope. I

AxisFault: Namespace URI may not be null

2008-07-07 Thread Jake Goulding
Hey all: I got the following exception when receiving a SOAP response: org.apache.axis2.AxisFault: Namespace URI may not be null at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at vivisimo.Stub.fromOM(Stub.java:46095) at vivisimo.Stub.Simple(Stub.java:194) at

Re: AxisFault: Namespace URI may not be null

2008-07-07 Thread Jake Goulding
On further reading, I think that this sentence makes it more clear what should happen: Default namespace declarations do not apply directly to attribute names; the interpretation of unprefixed attributes is determined by the element on which they appear That is, the code should be something

Re: Help with schema / Unexpected subelement Body

2008-07-07 Thread Jake Goulding
Apologies, but the XML should say: tree xmlns=urn:/vivisimo/types I attached an earlier version, before I cleaned up my namespaces. -Jake Jake Goulding wrote: Hey all: I am trying to figure out my other problems, and I ran into this: org.apache.axis2.AxisFault:

Generics and Interfaces with Java2Wsdl

2008-07-07 Thread Benjamin . Temko1
Hi, I'm using axis 1.4, and I have an interface defined as follows: public interface ServiceInterfaceT { ... public boolean updateList(T[] list) throws ServiceException; ... } with an implementing class as

axis2 web services security

2008-07-07 Thread somineni
Hi friends, anyone can help regarding web serivces. i was created a web service by using Axis2 Integration with the Spring Framework configuration.its working fine.but the problem is all people is able to see my wsdl file from browser. if want stop seeing the wsdl in browser.so for do i need any