Regards
KumarRaja
Kumar Raja wrote:
Question 1) Why the arg0 is having minOccurs="0" where I have not mentioned this anywhere in my code. Does it mean that I can ignore this argument all together as min = 0. Why this setting is not applied for arg1 and arg2.
My free books and tutorials: http://www.slideshare.net/krizsan
Regards
KumarRaja
Kumar Raja wrote:
Question 2) Why there is an extra content in browser view "wsam:Action="http://ws.learning.org/CalculatorWS/calculateRequest" and why not in my generated WSDL. At what point this extra content would be induced and why is it needed.
Question 3) Why and how the new additional namespaces were included and again at what point?
Question 4) Why there is difference in my response (Please look for <return> element). Why type declaration came into picture. This is not ENCODING format.
Question 5) Last but not the least, can some body explain me the differences of parameter style WRAPPED and BARE. In the page, it is mentioned as
Parameter Style
Decides whether operation name needs to be part of the SOAP body
Possible values: BARE or WRAPPED
Default: WRAPPED
My free books and tutorials: http://www.slideshare.net/krizsan
Ivan Krizsan wrote:
Question 4) Why there is difference in my response (Please look for <return> element). Why type declaration came into picture. This is not ENCODING format.
What webservice stack are you using?
Are you using different web service stack for the different examples?
Regards
KumarRaja
Kumar Raja wrote:First of all, I thank you for all the responses and clarifications provided for my questions.
Ivan Krizsan wrote:
Question 4) Why there is difference in my response (Please look for <return> element). Why type declaration came into picture. This is not ENCODING format.
What webservice stack are you using?
Are you using different web service stack for the different examples?
In both the examples, I'm using GlassFish server and its associated Metro stack (Same RI in both the cases).
My free books and tutorials: http://www.slideshare.net/krizsan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
Question 2) Why there is an extra content in browser view "wsam:Action="http://ws.learning.org/CalculatorWS/calculateRequest" and why not in my generated WSDL. At what point this extra content would be induced and why is it needed. By the way the namespace for this content is
I also see differences in namespace declarations in both the cases
In my generated WSDL,
view plaincopy to clipboardprint?
<definitions targetNamespace="http://ws.learning.org/" name="CalculatorWSService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://ws.learning.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
When browsed in browser
view plaincopy to clipboardprint?
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.learning.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.learning.org/" name="CalculatorWSService">
OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
Question 5) Last but not the least, can some body explain me the differences of parameter style WRAPPED and BARE. In the page, it is mentioned as
Parameter Style
Decides whether operation name needs to be part of the SOAP body
Possible values: BARE or WRAPPED
Default: WRAPPED
OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
Don't get me started about those stupid light bulbs. |