Re: Accessing Services.xml from within a running service?

2008-10-16 Thread Tony Hoyt
Okay, I see the fact that I can create an axis2_msg_ctx_t object using the following function... AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL axis2_msg_ctx_create( const axutil_env_t * env, struct axis2_conf_ctx *conf_ctx, struct axis2_transport_in_desc

Re: Accessing Services.xml from within a running service?

2008-10-16 Thread Manjula Peiris
On Thu, 2008-10-16 at 09:15 -0700, Tony Hoyt wrote: Okay, I see the fact that I can create an axis2_msg_ctx_t object using the following function... AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL axis2_msg_ctx_create( const axutil_env_t * env, struct axis2_conf_ctx

Re: namespaces error

2008-10-16 Thread Jeff Greif
The problem is form=unqualified in this line of the wsdl: s:element minOccurs=0 maxOccurs=1 form=unqualified name=Referentienummer type=s:string / That is, that element is supposed to be in the null namespace, not in ns3, but when axis/ADB sets the default namespace to a non-null

Re: namespaces error

2008-10-16 Thread Harm de Laat
In the mean time we have figured out that XMLBeans binding does not suffer from the same problems. So it seems it has something to do with ADB binding. On Wed, Oct 15, 2008 at 11:35 PM, Harm de Laat [EMAIL PROTECTED] wrote: Anybody has an idea on this. We're quite stuck on our project because

Re: Rampart 1.4 mustUnderstand

2008-10-16 Thread RonnieMJ
The Oasis 1.0 specification states: All compliant implementations MUST declare which profiles they support and MUST be able to process a wsse:Security element including any sub-elements which may be defined by that profile. but it then says: When a wsse:Security header includes a

Re: namespaces error

2008-10-16 Thread Harm de Laat
Thanks for your suggestion. However, what should we change to make our webservice client work? I already, tried changing the line you suggested to: s:element minOccurs=0 maxOccurs=1 name=Referentienummer type=s:string / or to: s:element minOccurs=0 maxOccurs=1 form=qualified

Re: namespaces error

2008-10-16 Thread keith chapman
Looks like this is a bug in ADB indeed. Could you please raise a JIRA on this. Thanks, Keith. On Thu, Oct 16, 2008 at 8:34 PM, Harm de Laat [EMAIL PROTECTED] wrote: Thanks for your suggestion. However, what should we change to make our webservice client work? I already, tried changing the

Re: Rampart 1.4 mustUnderstand

2008-10-16 Thread Nandana Mihindukulasooriya
Hi, The reason for this is due to the implementation logic. In Rampart 1.3, rampart processes the empty security header and set it as processed. But in Rampart 1.4, before going to the processing, Rampart evaluates the policy and check whether it is expecting a security header. And if it is not

Re: Difference between SOAP 1.1, SOAP 1.2 and SOAP HTTP

2008-10-16 Thread Bai Shen
Okay, I found where the difference of soap and soap12, which I hadn't noticed before. However, I don't see anything defining a difference between the two. wsdl:binding name=MessageServiceSoap11Binding type=ns:MessageServicePortType soap:binding transport=http://schemas.xmlsoap.org/soap/http;

Consuming Axis2 WS via .NET, base class data missing

2008-10-16 Thread Aaron McIver
This is an Axis2 1.4 WS being consumed from a .NET client. The base issue is that the WSDL is stating: xs:complexType name=Module xs:sequence xs:element minOccurs=0 name=description nillable=true type=xs:string/ xs:element

Maven2 and Axis2

2008-10-16 Thread David Ojeda
Hello all, I am thinking on migrating the project management of my webservices projects from ant to maven2. Does anyone have experience with maven2 and axis2? I can't find an archetype for WebServices (server-side) using axis2. Should I use a standard webapp archetype? What I found is a plugin

Re: Maven2 and Axis2

2008-10-16 Thread Deepal jayasinghe
Hello all, I am thinking on migrating the project management of my webservices projects from ant to maven2. Does anyone have experience with maven2 and axis2? I can't find an archetype for WebServices (server-side) using axis2. Should I use a standard webapp archetype? What I found is a

Rampart and Actor

2008-10-16 Thread RonnieMJ
Does rampart (1.4 or 1.3) support the use of specifying an actor? I notice this http://issues.apache.org/jira/browse/RAMPART-16 JIRA but it's pretty old. Basically I've found out that my mustUnderstand issue is due to the ultimate receiver not being able to handle security headers, and

namespace prefix

2008-10-16 Thread thomas mccarthy
I am trying to find some information about how axis chooses the namespace prefix. The soap response we send back often looks like this: soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:Body ns:PreviewResponse xmlns:ns="http://api.familytxtconx.com"

Re: Out Only MEP and Rest support

2008-10-16 Thread Barry Alexander
Sorry to be so dense...I have taken advice and implemented the StudentService example I get a good response from http://localhost:8080/axis2/services/StudentService/getStudents But when I try to add a student, I am not sure that the url should look like? This is what I tried:

RE: Out Only MEP and Rest support

2008-10-16 Thread Meeusen, Christopher W.
should be the same url http://localhost:8080/axis2/services/StudentService/getStudents http://localhost:8080/axis2/services/StudentService/getStudents the url is typically the same for all the methods in a given service. Chris From: [EMAIL PROTECTED]

Re: Maven2 and Axis2

2008-10-16 Thread David Ojeda
Hello Deepal, Sorry I did not explained myself... I want to accomplish two things: 1. generate a project structure for ws development (using a maven archetype perhaps) 2. automatically generate sources, compile classes, pack AAR, pack a WAR so I can deploy this WAR in a webserver or test it

Unsupported content Simple Type List

2008-10-16 Thread Jon H
Hey, I'm using 1.4.1 and am trying to use wsdl2java and get the following error. Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Type List in {http://schemas.microsoft.com/exchange/services/2006/types}FreeBusyViewType ! The command I was using is

Re: Maven2 and Axis2

2008-10-16 Thread Deepal Jayasinghe
Sorry I did not explained myself... No problem I want to accomplish two things: 1. generate a project structure for ws development (using a maven archetype perhaps) For that I think you need to read maven2 user guide. 2. automatically generate sources, Axis2 does that , have a look

RE: Unsupported content Simple Type List

2008-10-16 Thread Martin Gainty
Hi Jon- wont resolve as long as http://schemas.microsoft.com/exchange site is either down or misconfigured Do you or MS have another url which contains as schema which is 'reachable' ? Martin __ Disclaimer and confidentiality note Everything in

Re: Unsupported content Simple Type List

2008-10-16 Thread Jon H
wont resolve as long as http://schemas.microsoft.com/exchange site is either down or misconfigured Do you or MS have another url which contains as schema which is 'reachable' Ah, crap, stupid error. I had previously been using 1.1.1 for another project and forgot to update my AXIS2_HOME to

Re: Rampart 1.4 mustUnderstand

2008-10-16 Thread RonnieMJ
I see what you're saying, and I have seen this as an issue that others have expressed, however it's not quite the issue I'm referring to. My issue turns out to be that as a client, I send to some service. That service is not the ultimate receiver endpoint. It is more of simply a security

Re: Maven2 and Axis2

2008-10-16 Thread David Ojeda
On Thursday 16 October 2008 15:38:44 Deepal Jayasinghe wrote: Sorry I did not explained myself... No problem I want to accomplish two things: 1. generate a project structure for ws development (using a maven archetype perhaps) For that I think you need to read maven2 user guide. Let

Re: Maven2 and Axis2

2008-10-16 Thread David Ojeda
Hello, I found a thread where someone asked this in 2006 but he did not report his progress... http://markmail.org/message/rq6ldgrwjqkgrdya I even found your article Deepal: http://www.developer.com/java/ent/article.php/10933_3777111_1 After more research, I think there is no archetype. The

wsdl namespace issue

2008-10-16 Thread ERaj
Hi, In services.xml, i have included like below service name=XYZWebService targetNamespace=http://xyz.com.au; schema schemaNamespace=http://xyz.com.au/xsd; it solved the packagename display on target/schema namespace issue but problem occurs for custom objects return from the webmethods, in

What is the use of Axis2 standard binary distribution?

2008-10-16 Thread Atle Selberg
I downloaded the standard binary distribution from http://ws.apache.org/axis2/1_4_1/installationguide.html in a hope that I don't have to use Tomcat if I have the standalone server. But in the installation directions in http://ws.apache.org/axis2/1_4_1/installationguide.html#servlet_container at

How to generate RPC style WSDL for a published service?

2008-10-16 Thread Chinmoy Chakraborty
Hi All, I want to generate RPC style WSDL for the published services (custom and POJO both). From the AXIS2 admin console, the WSDL for the published services shows in DOCUMENT style. But I want to see them in RPC encoded style. Is WSDL generation style is configurable? If it is configurable