Hi All,
When I am creating wsdl from my source code , Binding is "document/literal"
messaging mode ( I am not sure how to chose the mode explicitly using the code
generation wizard in axis2) I could see namespace attribute in <soap:body>
element in <wsdl:binding> element
here is the part of my wsdl.
Can somebody tell me why "namespace" appears for soap:body element.
I get a warning that "A document/literal binding in a description MUST NOT
have the name space attribute specified on contained soap:body"
Is there any way to avoid this besides manually deleting it?
<wsdl:binding name="AGMWebServicesSOAP11Binding"
type="agm:AGMWebServicesPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<wsdl:operation name="retrieveOpportunityCountByPriority">
<soap:operation
soapAction="urn:retrieveOpportunityCountByPriority"
style="document" />
<wsdl:input>
<soap:body use="literal"
namespace="http://ws.marketlink.nationwide.com" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal"
namespace="http://ws.marketlink.nationwide.com" />
</wsdl:output>
<wsdl:fault
name="retrieveOpportunityCountByPriorityFault">
<soap:body use="literal"
namespace="http://ws.marketlink.nationwide.com" />
</wsdl:fault>
</wsdl:operation>
Thanks in advance,
Prasad
Eran Chinthaka <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
If you can give some more insights in to your problem, perhaps we can
help you a bit.
Do remember that REST and SOAP endpoints are different, by default. And
if you wanna change that in to one, or disable one, then only you need
to touch the config files. Other than that things should work fine.
- -- Chinthaka
rjain wrote:
> Hi,
>
> I am trying to configure the axis2.xml and web.xml for REST. What are the
> parameters I need to set? I have tried all combinations of parameters and it
> doesn't seem to work. Out of box axis2.war, doesn't work (the Version REST
> Service doesn't work) Is this broken and do I have to do anything. Please
> help!!!
>
> Below is the conversation from the axis-user mailing list, and I haven't got
> any useful information
>
> regards
> Rajesh
>
>
>
>> Hi Glen
>>
>> Thanx for the article. But this didn't help.
>>
>> If I set both the parameters as described in the document i.e.
>>
>> locked="true">true
>>
>>
>> locked="true">true
>>
>> Both the Service URL are same
>> Service EPR : http://localhost:8080/axis2/services/Version
>> Service REST epr : http://localhost:8080/axis2/services/Version
>>
>> I get the following error
>>
>>
>>
>> â
>>
>> I can not find a service for this request to be serviced. Check the WSDL
>> and
>> the request URI
>>
>>
>>
>>
>>
>> I hope this feature is not broken in the latest version. Any other
>> pointers
>> what I should be doing?
>>
>
> Sorry, I have not done this before. You may wish to google the
> parameter properties "enableRESTInAxis2MainServlet" and
> "disableSeparateEndpointForREST" separately. Hopefully that will lead
> you to a working configuration.
>
> Glen
>
>
>
>
>> ===============================================
>>
>>
>>
>> GlenMazza wrote:
>>> Am Freitag, den 02.03.2007, 17:05 -0800 schrieb rjain:
>>>> Hi
>>>>
>>>> I am using Axis2 1.1.1 , and I am trying to configure the "Version"
>>>> Service
>>>> to be RESTFul.
>>> ...
>>>
>>>> Can someone guide me to the documentation of how to Enable AXIS2 for
>>>> REST,what are the configuration parameters I need to set to make this
>>>> successful.
>>>>
>>> Search on this page[1] for the two articles (under External FAQs) with
>>> the word "REST". Let us know if they help you.
>>>
>>> Glen
>>>
>>> [1] http://wiki.apache.org/ws/FrontPage/Axis2/
>>>
>>>
>>>> Thanx!
>>>> Rajesh
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF60UBjON2uBzUhh8RAvlIAKCGUZD18pzNsw8ezmyGtVzL8K7/4gCfcQ+F
Vm3G3SuJIcmEYfufAZQKVlc=
=rV2F
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.