Re: [OT] wsdl services, binding, and ports

2009-04-04 Thread Sam Carleton
On Fri, Apr 3, 2009 at 4:20 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 The following articles are on WSDL tool of Axis2. In addtion to Axis2 tool,
 it also talks about various aspects of WSDL.

 http://wso2.org/library/2873

 http://wso2.org/library/2935

Samisa,

Thank you for the links, they are very helpful.  Unfortunately neither
one answers my original off topic question:

Is it possible to have multiple port types in one WSDL.  I have tried
to create a WSDL with two port's, both with one operation, the WSDL
seems to validate correctly.  When I run WSDL2C, it only creates one
of the operations.  I don't know if what I am trying to do is
impossible or I am doing something wrong.  At the bottom is my WSDL.

Sam

---
?xml version=1.0 encoding=UTF-8 standalone=no?
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:tns=urn:mmpp:pasadena
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:ns=http://schemas.xmlsoap.org/soap/encoding/;
name=NodeManager targetNamespace=urn:mmpp:pasadena
wsdl:types
xsd:schema targetNamespace=urn:mmpp:pasadena
xsd:element name=getNode
xsd:complexType
xsd:sequence
xsd:element name=nodeId 
type=xsd:string/
xsd:element name=userId 
type=xsd:string/
/xsd:sequence
/xsd:complexType
/xsd:element
xsd:element name=getNodeResponse
xsd:complexType
xsd:sequence
xsd:element name=currentNode 
type=tns:NodeType/
/xsd:sequence
/xsd:complexType
/xsd:element
xsd:complexType name=NodeType
xsd:sequence
xsd:element name=objectId 
type=xsd:string/
xsd:element name=name 
type=xsd:string/
xsd:element name=parentNode 
type=tns:NodeType nillable=true/
xsd:element 
name=areChildrenGalleries type=xsd:boolean
nillable=true/
xsd:element name=children 
type=tns:NodeType minOccurs=0
maxOccurs=unbounded/
/xsd:sequence
/xsd:complexType
xsd:element name=getCarts
xsd:complexType
xsd:sequence
xsd:element name=nodeId 
type=xsd:string/
/xsd:sequence
/xsd:complexType
/xsd:element
xsd:element name=getCartsResponse
xsd:complexType
xsd:sequence
xsd:element name=carts 
type=xsd:string/
/xsd:sequence
/xsd:complexType
/xsd:element
/xsd:schema
/wsdl:types
wsdl:message name=getNodeRequest
wsdl:part name=parameters element=tns:getNode/
/wsdl:message
wsdl:message name=getNodeResponse
wsdl:part name=parameters element=tns:getNodeResponse/
/wsdl:message
wsdl:message name=getCartsRequest
wsdl:part name=parameters element=tns:getCarts/
/wsdl:message
wsdl:message name=getCartsResponse
wsdl:part name=parameters element=tns:getCartsResponse/
/wsdl:message

wsdl:portType name=NodeManager
wsdl:operation name=getNode
wsdl:input message=tns:getNodeRequest/
wsdl:output message=tns:getNodeResponse/
/wsdl:operation
/wsdl:portType

wsdl:portType name=CartService
wsdl:operation name=getCarts
wsdl:input message=tns:getCartsRequest/
wsdl:output message=tns:getCartsResponse/
/wsdl:operation
/wsdl:portType

wsdl:binding name=NodeManagerSOAP type=tns:NodeManager
soap:binding style=document
transport=http://schemas.xmlsoap.org/soap/http/
wsdl:operation name=getNode
soap:operation 
soapAction=urn:mmpp:NodeManager/getNode/
wsdl:input
soap:body 

Re: [OT] wsdl services, binding, and ports

2009-04-03 Thread Sam Carleton
On Fri, Apr 3, 2009 at 3:32 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 Sam Carleton wrote:

 You would be correct that this is very WSDL related, but the engine is
 Axis2/C, which is why I posted here.  If there is a pure WSDL forum to post
 these types of questions, I would love to know where to find it!!!  I
 learned a long time ago that you get quicker responses when you post to the
 correct forum!

 If it is Axis2/C specific, ask the question that way. Point to the code
 location, and explain what you tried to do. Just don't throw in random
 question on generic WS stuff in here.

Samisa,

Please let me try my reply one more time:

1: I *DO NOT* think this is Axis2/C specific, I *DO NOT* thing this
really has anything to do with Axis/2C other than the engine I am
using is Axis2/C.

So I **KNOW** this is off topic, please forgive me for not putting
[OT] in the subject, which I have now added.

2:  As I said before:

If there is a pure WSDL forum to post these types of questions, I
would love to know where to find it!!!  I learned a long time ago that
you get quicker responses when you post to the correct forum!

Samisa, if you don't know personally of a WSDL forum, then say so!
Maybe a useful comment that is a touch outside the original question
rather then just telling me to go away might be helpful, such as
from what I can tell, if one is going to really work in the world of
Web Services, especially Axis2/C web services, s/he is going to need
to know WSDL pretty darn well, so...  one could imagine that you might
know more about WSDL then I do, why don't you enlighten me as to where
and/or how you learned what you know about WSDL?

I have no objection to doing the work, I just cannot find anywhere to
go to learn it!  Maybe some good books, web sites (other than the darn
WSDL specs that always make me fall asleep), etc.  Any specific
suggestions would be helpful.  I say specific because for some reason
folks on mailing lists love to respond with: Google the topic.  I
don't have 3 years to search through the millions of hits one finds on
WSDL's, I am looking for a few good sources of info.  I am willing to
pay money for it too, let it be a book, or even service from some
company like WSO2.

I have searched Amazon, but most of the books are about Web Servies
not WSDL's, are there any in particular that focus more on the WSDL's?
 (I have asked in other posts here about where to go on info on WS-*
and gotten a little help, but still not a lot).

In the end, there seems to be a big gap in my knowledge between the
HTTP protocol and the Web Service operation being called in whatever
language you are operating.  I am simply trying to find a good source
to fill in that gap.

Sam


Re: [OT] wsdl services, binding, and ports

2009-04-03 Thread Samisa Abeysinghe
The following articles are on WSDL tool of Axis2. In addtion to Axis2 
tool, it also talks about various aspects of WSDL.


http://wso2.org/library/2873

http://wso2.org/library/2935

Samisa...

Sam Carleton wrote:

On Fri, Apr 3, 2009 at 3:32 PM, Samisa Abeysinghe sam...@wso2.com wrote:
  

Sam Carleton wrote:


You would be correct that this is very WSDL related, but the engine is
Axis2/C, which is why I posted here.  If there is a pure WSDL forum to post
these types of questions, I would love to know where to find it!!!  I
learned a long time ago that you get quicker responses when you post to the
correct forum!
  

If it is Axis2/C specific, ask the question that way. Point to the code
location, and explain what you tried to do. Just don't throw in random
question on generic WS stuff in here.



Samisa,

Please let me try my reply one more time:

1: I *DO NOT* think this is Axis2/C specific, I *DO NOT* thing this
really has anything to do with Axis/2C other than the engine I am
using is Axis2/C.

So I **KNOW** this is off topic, please forgive me for not putting
[OT] in the subject, which I have now added.

2:  As I said before:

If there is a pure WSDL forum to post these types of questions, I
would love to know where to find it!!!  I learned a long time ago that
you get quicker responses when you post to the correct forum!

Samisa, if you don't know personally of a WSDL forum, then say so!
Maybe a useful comment that is a touch outside the original question
rather then just telling me to go away might be helpful, such as
from what I can tell, if one is going to really work in the world of
Web Services, especially Axis2/C web services, s/he is going to need
to know WSDL pretty darn well, so...  one could imagine that you might
know more about WSDL then I do, why don't you enlighten me as to where
and/or how you learned what you know about WSDL?

I have no objection to doing the work, I just cannot find anywhere to
go to learn it!  Maybe some good books, web sites (other than the darn
WSDL specs that always make me fall asleep), etc.  Any specific
suggestions would be helpful.  I say specific because for some reason
folks on mailing lists love to respond with: Google the topic.  I
don't have 3 years to search through the millions of hits one finds on
WSDL's, I am looking for a few good sources of info.  I am willing to
pay money for it too, let it be a book, or even service from some
company like WSO2.

I have searched Amazon, but most of the books are about Web Servies
not WSDL's, are there any in particular that focus more on the WSDL's?
 (I have asked in other posts here about where to go on info on WS-*
and gotten a little help, but still not a lot).

In the end, there seems to be a big gap in my knowledge between the
HTTP protocol and the Web Service operation being called in whatever
language you are operating.  I am simply trying to find a good source
to fill in that gap.

Sam



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.285 / Virus Database: 270.11.40/2039 - Release Date: 04/03/09 06:19:00


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company