Search the web
Sign In
New User? Sign Up
soapbuilders
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 30 of 10820   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#30 From: Jacek Kopecky <jacek@...>
Date: Fri Feb 2, 2001 3:02 pm
Subject: Re: Re: Interoperability lab
jacek@...
Send Email Send Email
 
W. Matthew, I see that you chose the same approach as IdooXoap did,
too. We also compare xsi:type against the WSDL, we don't require
xsi:type either and we also put it in there everywhere.

What kind of XML Schema representation of SOAP Encoding structures
do you support? Or do you support any general schema?

                             Jacek Kopecky
                                Idoox



On Fri, 2 Feb 2001, W. Matthew Long wrote:

  > >   Hi Tony,
  > >
  > >   What I'm actually looking for is a service that doesn't put in the
  > > xsi:type
  > >   stuff and relies on WSDL/SDL/whatever to get the knowledge of the
  > types of
  > >   parameters of a call. We recently put in support in Apache SOAP
  > to handle
  > >   that and I haven't been able to find any complex type tests. I
  > wrote a
  > >   simpel test to talk to your guidgen server (written in MS SOAP I
  > believe)
  > >   and it works fine.
  > >
  >
  > Sanjiva,
  >
  > We should be releasing the vbSOAP tool set in two weeks.  The SOAP
  > Processor utilizes the WSDL Processor to ensure the scenario.
  > 1) If the xsi:type is set in the Request Envelope the xsi:type is
  > check against the WSDL document, also the value is check against the
  > type specific is the xsi:type(s) match between the request and the
  > WSLD document for the service
  > 2) If the xsi:type is not specified, the SOAP processor utilizes the
  > WSDL processor to ensure the part values can be converted into the
  > appropriate type.
  > 3) Finally, we have WSDL interrogator that will generate VBScript
  > from a WSDL document for method calls.  The Interrogator along with
  > our SOAP client will automatically use xsi:type attributes on the
  > parts for interoperability purposes, although our SOAP processor does
  > not require it.
  >
  > We have found that the WSDL Interrogator along with our SOAP client
  > is highly interoperable with does take into account the possibility
  > of differing XMLSchema, i.e., 1999 and 2000/10, which some
  > implementations require.
  >
  > All this will be available, along with our WSDL Wizard for COM
  > objects after the documentation is completed (which is a mountain of
  > documentation)
  >
  >
  >
  >
  >
  >
  >
  > To unsubscribe from this group, send an email to:
  > soapbuilders-unsubscribe@yahoogroups.com
  >
  >
  >

#29 From: quaine_nicholas@...
Date: Fri Feb 2, 2001 12:39 pm
Subject: Making VB talk to Apache
quaine_nicholas@...
Send Email Send Email
 
Apologies to those who are seeing this same question on a gzillion
different discussion groups but I am determined to find out if this is
possible or not and it seems like this is just the right place to
do that...

<B>has anyone out there managed to make a Visual Basic client
(Microsoft SOAP Toolkit v2.0) which exploits a WSDL file work against
a SOAP server implemented with Apache SOAP 2.0 or 2.1 ?</B>

I have made a VB client work against an Apache SOAP server by
exploiting the low level API (ie. manipulating the soap envelope
directly on the VB side to include the xsi:type param) but would like
to get it working by exploiting the high level API / WSDL file.

Apparently Apache SOAP 2.1 has "Reduced dependency on xsi:type for
deserialization" - but I haven't yet seen how. examples...
1) If I take my VB client written with a low level API and remove the
code which inserts the xsi:type line into the envelope, I get a server
side error : "No Deserializer found" for my 'type' (actually my
method's parameter name) - see actual error message below.
2) If I use the high level API and exploit a wsdl file I get the same
error

No Deserializer found to deserialize a ':imntType' using encoding
style 'http://schemas.xmlsoap.org/soap/encoding/'.

many thanks for any help you can provide

Nick Quaine

#28 From: "Tony Hong" <thong@...>
Date: Fri Feb 2, 2001 10:01 am
Subject: RE: SOAP question
thong@...
Send Email Send Email
 
Hi Florin,
 
This is a great question. I will send an email to you offline regarding this.
 
In the future, may I redirect you to the Apache user list ? That is probably
a better venue for this question, as it is Apache specific. This "soapbuilder" list
is purely focused on interoperability and SOAP spec interpretation questions.
 
The email to subscribe to that list is: soap-user-subscribe@...
For more details, see http://xml.apache.org/mail.html
 
Thanks
 
Tony
 
 
-----Original Message-----
From: Florin Moldovan [mailto:florin@...]
Sent: Friday, February 02, 2001 1:48 AM
To: soapbuilders@yahoogroups.com
Subject: [soapbuilders] SOAP question


        Hi everybody,

I'm a Java programmer and I'm working with Apache SOAP.
I want to send an object like ObjectType, via SOAP, and I don't know how. Could anybody help me ?
(I work with Apache SOAP)

e.g.:
public class ObjectType{

    String s;
    Vector v;
    AnotherType a;
............
}

It's a problem with Vector and AnotherType types.
I want to use this ObjectType like parameter of a client-side methode.

Thank you very, very much.

            Florin.




To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#27 From: "Florin Moldovan" <florin@...>
Date: Fri Feb 2, 2001 9:47 am
Subject: SOAP question
florin@...
Send Email Send Email
 

        Hi everybody,

I'm a Java programmer and I'm working with Apache SOAP.
I want to send an object like ObjectType, via SOAP, and I don't know how. Could anybody help me ?
(I work with Apache SOAP)

e.g.:
public class ObjectType{

    String s;
    Vector v;
    AnotherType a;
............
}

It's a problem with Vector and AnotherType types.
I want to use this ObjectType like parameter of a client-side methode.

Thank you very, very much.

            Florin.



#26 From: "W. Matthew Long" <mlong@...>
Date: Fri Feb 2, 2001 3:11 am
Subject: Re: Interoperability lab
mlong@...
Send Email Send Email
 
>   Hi Tony,
>
>   What I'm actually looking for is a service that doesn't put in the
> xsi:type
>   stuff and relies on WSDL/SDL/whatever to get the knowledge of the
types of
>   parameters of a call. We recently put in support in Apache SOAP
to handle
>   that and I haven't been able to find any complex type tests. I
wrote a
>   simpel test to talk to your guidgen server (written in MS SOAP I
believe)
>   and it works fine.
>

Sanjiva,

We should be releasing the vbSOAP tool set in two weeks.  The SOAP
Processor utilizes the WSDL Processor to ensure the scenario.
1) If the xsi:type is set in the Request Envelope the xsi:type is
check against the WSDL document, also the value is check against the
type specific is the xsi:type(s) match between the request and the
WSLD document for the service
2) If the xsi:type is not specified, the SOAP processor utilizes the
WSDL processor to ensure the part values can be converted into the
appropriate type.
3) Finally, we have WSDL interrogator that will generate VBScript
from a WSDL document for method calls.  The Interrogator along with
our SOAP client will automatically use xsi:type attributes on the
parts for interoperability purposes, although our SOAP processor does
not require it.

We have found that the WSDL Interrogator along with our SOAP client
is highly interoperable with does take into account the possibility
of differing XMLSchema, i.e., 1999 and 2000/10, which some
implementations require.

All this will be available, along with our WSDL Wizard for COM
objects after the documentation is completed (which is a mountain of
documentation)

#25 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 9:09 pm
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Hi Sanjiva,
 
OK, gotcha. Per Simon's previous note, MS Toolkit is limited to simple types. I'll look around for an alternative
example, and if I can't find one, I try and set one up with .NET B1 or something like that.
 
Cheers,
Tony
 
 -----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@...]
Sent: Thursday, February 01, 2001 4:12 AM
To: soapbuilders@yahoogroups.com
Subject: RE: [soapbuilders] Interoperability lab


Hi Tony,

What I'm actually looking for is a service that doesn't put in the xsi:type
stuff and relies on WSDL/SDL/whatever to get the knowledge of the types of
parameters of a call. We recently put in support in Apache SOAP to handle
that and I haven't been able to find any complex type tests. I wrote a
simpel test to talk to your guidgen server (written in MS SOAP I believe)
and it works fine.

Sanjiva.

"Tony Hong" <thong@...> on 01/31/2001 08:17:32 PM

Please respond to soapbuilders@yahoogroups.com

To:   <soapbuilders@yahoogroups.com>
cc:
Subject:  RE: [soapbuilders] Interoperability lab




Sanjiva,

One  other note -  to illustrate the existing struct array test, here is
the  request/response wiredump. In
this  example, it's a Apache 2.0 client hitting a SOAPLite server (it works
successfully) . Let me know if
this  is what you're thinking about, or if you need something different.
Thanks

Tony

----------- Apache Requst  -----------------------

POST  /perl/soaplite.cgi HTTP/1.0
Host: tony:8080
Content-Type:  text/xml
Content- Length: 541
SOAPAction:  "urn:xmethodsInterop#echoStruct"

<SOAP-ENV:Envelope  xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"  xmlns:xsi="
http://www.w3.org/1999/XMLSchema-instance"  xmlns:xsd="
http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:echoStruct  xmlns:ns1="urn:xmethodsInterop"  SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/">
<echo  xsi:type="ns1:SOAPStruct">
<varInt  xsi:type="xsd:int">3</varInt>
<varFloat  xsi:type="xsd:float">1.2</varFloat>
<varString  xsi:type="xsd:string">Hello</varString>
</echo>
</ns1:echoStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

------------- SOAPLite  response --------------------------

HTTP/1.1 200 OK
Content- Length:  672
Content-Type: text/xml
glue-routing: true
date: Thu, 01 Feb 2001  01:11:21 GMT
server: Apache/1.3.14 (Unix) PHP/4.0.1pl2
soapserver:  SOAP::Lite/Perl/0.45

<?xml version="1.0"  encoding="UTF-8"?><SOAP-ENV:Envelope  xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/"  SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"  xmlns:xsi="
http://www.w3.org/1999/XMLSchema-instance"  xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"  xmlns:xsd="
http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<namesp1:echoStructResponse  xmlns:namesp1="urn:xmethodsInterop">
<SOAPStruct  xsi:type="namesp1:SOAPStruct">
<varFloat  xsi:type="xsd:float">1.2</varFloat>
<varString  xsi:type="xsd:string">Hello</varString>
<varInt  xsi:type="xsd:int">3</varInt>
</SOAPStruct>
</namesp1:echoStructResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

-----Original Message-----
From: Tony  Hong [mailto:thong@...]
Sent: Wednesday, January 31, 2001  4:57 PM
To: soapbuilders@yahoogroups.com
Subject: RE:  [soapbuilders] Interoperability lab


Hi  Sanjiva,

Thanks, I'm glad you find the idea  useful!

The  yahoo group is listed now - I accidently delisted it from their
directory, but  it's
visible again. Just search for"soapbuilders"  at groups.yahoo.com and you
should
see  it pop up .

The  testbed as I'vedescribed has an "echoStruct" and "echoStructArray"
methods -
I've built this service already for  Apache and SOAP::Lite - for Apache,
the service uses
the  Bean serializer to map to/from a simple object. See

http://www.xmethods.net/detail.html?id=10  for SOAP::Lite
and
http://www.xmethods.net/detail.html?id=11   for Apache

Is  this what you are thinking of?

As  far as MS or 4s4c, I'm not sure of any other existing services that
involve
complex types - Simon, do you know of  any?

If  you describe the kind of type/structure you'd like to see built as an
"echo"  , I can make sure its part
of  the target test set and start the construction in a variety of
implementations, including the ones
you  mention.

Cheers,
Tony


-----Original Message-----
From: Sanjiva Weerawarana  [mailto:sanjiva@...]
Sent: Wednesday, January 31, 2001 9:42  AM
To: soapbuilders@yahoogroups.com
Subject: Re:  [soapbuilders] Interoperability lab


Hi  Tony,

I think this is a great idea! Thanks for starting the  work!

Do u know of a service implemented with MS SOAP, 4S4C, ... etc.  that uses
complex types and is available on the net? I'm trying to test  the apache
soap interoperabilty using complex types with non-Apache SOAP  services and
I can't seem to find interesting services to  try.

Also, what's the Yahoo group for this? I can't seem to find the  group to
change my email  address!

Bye,

Sanjiva.

Jacek Kopecky  <jacek@...> on 01/31/2001 10:23:07 AM

Please respond to  soapbuilders@yahoogroups.com

To:   Soapbuilders  <soapbuilders@yahoogroups.com>
cc:
Subject:  Re:  [soapbuilders] Interoperability lab



I'd add a circular  structure:

LinkedList echoLinkedList(LinkedList  linkedList)

where the definition in Java would be

public class  LinkedList {
    int x;
    LinkedList  next;
}

which means nullable and referenced next part. Sending a  circular list
through might also help.  8-)

                             Jacek  Kopecky
                                Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi  all
>
> I've mentioned to a couple of you that I'm going to  create
> an interoperability testbed. I'd like to get some  feedback
> from this group.
>
> For each if a number of  different SOAP implemenation, I'm
> planning to host a service that  exposes these methods
>
> String echoString(String  inputString)
> String[] echoStringArrray(String[]  inputStringArray)
> Integer echoInteger(Integer inputInteger)
>  Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float  echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[]  inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct  inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[]  inputStructArray)
>
> Where SOAPStruct is a simple structure  with integer, float, and
> string fields.
>
> Other  possibilities include:
> Hashmap / Associative array , using the  encoding proposed by
> the Apache folks.
> XML  Documents
>
> This "echo" service does nothing really useful  except
> illustrate the ability of the service to accept a  clients
> envelope, deserialize the types correctly, and then
>  reserialize the respones into something that the client
> can see if  it understands.
>
> I built this service for Apache 2.0 and  SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree  that
> it's been really useful for testing interop  issues.
>
>
> In addition to exposing these services, I  also plan to:
>
> * Publish wiredumps of the request and  response envelopes
> that each implementation uses - ie, each  implementations
> client
> * For those implementations that  dynamically generate
> WSDL, I will publish the WSDL generated for  each of these
> methods.
>
> I think this is a first step  to REALLY filling out those issues
> lists for SOAP and WSDL  interoperability. It's much easier to
> see the issues when all this  info is right in front of you.
>
> My question here is
>
> Does this set of types/methods make sense? Would you  modify
> this list in any way?
>
> Thanks for any  feedback!
>
> Tony
>
>  ----------------------------------------
> XMethods Web Services  Listings
> http://www.xmethods.net
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>
>



To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com








To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com




To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com



                                                                           
                                Yahoo! Groups Sponsor                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                        [IMAGE]            
               [IMAGE]                                                     
                                                                           
                                                                           
                                                          !                
                                  www. .com                                
                                                                           
                                                                           
                                                                           
          [IMAGE]                                                          
                                                                           


To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com








To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#24 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 8:33 pm
Subject: RE: another list for WSDL discussions?
thong@...
Send Email Send Email
 
Hi Sanjiva,

Per your suggestion I've started a WSDL discussion group on yahoo groups -
here's the
reachability info:

Post message: wsdl@yahoogroups.com
Subscribe:  wsdl-subscribe@yahoogroups.com
Unsubscribe:  wsdl-unsubscribe@yahoogroups.com
List owner:  wsdl-owner@yahoogroups.com
URL: http://groups.yahoo.com/group/wsdl

Cheers,
Tony

> -----Original Message-----
> From: Sanjiva Weerawarana [mailto:sanjiva@...]
> Sent: Thursday, February 01, 2001 11:43 AM
> To: soapbuilders@yahoogroups.com; Apache SOAP; soap@...
> Cc: Paco Curbera; erikc@...
> Subject: another list for WSDL discussions?
>
>
> There are WSDL discussions going on in various lists. IMO its time
> to create a WSDL discussion list. What do u think? I'd like to
> separate it from SOAP because while WSDL is useful in the SOAP
> context, its actually quite independent from SOAP too.
>
> If there's consensus, can someone please volunteer to do it? We could
> do another Yahoo! group thing or whatever.
>
> Thanks,
>
> Sanjiva.
>
>
>

#23 From: "Sanjiva Weerawarana" <sanjiva@...>
Date: Thu Feb 1, 2001 7:42 pm
Subject: another list for WSDL discussions?
sanjiva@...
Send Email Send Email
 
There are WSDL discussions going on in various lists. IMO its time
to create a WSDL discussion list. What do u think? I'd like to
separate it from SOAP because while WSDL is useful in the SOAP
context, its actually quite independent from SOAP too.

If there's consensus, can someone please volunteer to do it? We could
do another Yahoo! group thing or whatever.

Thanks,

Sanjiva.

#22 From: "Sanjiva Weerawarana" <sanjiva@...>
Date: Thu Feb 1, 2001 12:12 pm
Subject: RE: Interoperability lab
sanjiva@...
Send Email Send Email
 
Hi Tony,

What I'm actually looking for is a service that doesn't put in the xsi:type
stuff and relies on WSDL/SDL/whatever to get the knowledge of the types of
parameters of a call. We recently put in support in Apache SOAP to handle
that and I haven't been able to find any complex type tests. I wrote a
simpel test to talk to your guidgen server (written in MS SOAP I believe)
and it works fine.

Sanjiva.

"Tony Hong" <thong@...> on 01/31/2001 08:17:32 PM

Please respond to soapbuilders@yahoogroups.com

To:   <soapbuilders@yahoogroups.com>
cc:
Subject:  RE: [soapbuilders] Interoperability lab




Sanjiva,

One  other note -  to illustrate the existing struct array test, here is
the  request/response wiredump. In
this  example, it's a Apache 2.0 client hitting a SOAPLite server (it works
successfully) . Let me know if
this  is what you're thinking about, or if you need something different.
Thanks

Tony

----------- Apache Requst  -----------------------

POST  /perl/soaplite.cgi HTTP/1.0
Host: tony:8080
Content-Type:  text/xml
Content- Length: 541
SOAPAction:  "urn:xmethodsInterop#echoStruct"

<SOAP-ENV:Envelope  xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"  xmlns:xsi="
http://www.w3.org/1999/XMLSchema-instance"  xmlns:xsd="
http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:echoStruct  xmlns:ns1="urn:xmethodsInterop"  SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/">
<echo  xsi:type="ns1:SOAPStruct">
<varInt  xsi:type="xsd:int">3</varInt>
<varFloat  xsi:type="xsd:float">1.2</varFloat>
<varString  xsi:type="xsd:string">Hello</varString>
</echo>
</ns1:echoStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

------------- SOAPLite  response --------------------------

HTTP/1.1 200 OK
Content- Length:  672
Content-Type: text/xml
glue-routing: true
date: Thu, 01 Feb 2001  01:11:21 GMT
server: Apache/1.3.14 (Unix) PHP/4.0.1pl2
soapserver:  SOAP::Lite/Perl/0.45

<?xml version="1.0"  encoding="UTF-8"?><SOAP-ENV:Envelope  xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/"  SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"  xmlns:xsi="
http://www.w3.org/1999/XMLSchema-instance"  xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"  xmlns:xsd="
http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<namesp1:echoStructResponse  xmlns:namesp1="urn:xmethodsInterop">
<SOAPStruct  xsi:type="namesp1:SOAPStruct">
<varFloat  xsi:type="xsd:float">1.2</varFloat>
<varString  xsi:type="xsd:string">Hello</varString>
<varInt  xsi:type="xsd:int">3</varInt>
</SOAPStruct>
</namesp1:echoStructResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

-----Original Message-----
From: Tony  Hong [mailto:thong@...]
Sent: Wednesday, January 31, 2001  4:57 PM
To: soapbuilders@yahoogroups.com
Subject: RE:  [soapbuilders] Interoperability lab


Hi  Sanjiva,

Thanks, I'm glad you find the idea  useful!

The  yahoo group is listed now - I accidently delisted it from their
directory, but  it's
visible again. Just search for"soapbuilders"  at groups.yahoo.com and you
should
see  it pop up .

The  testbed as I'vedescribed has an "echoStruct" and "echoStructArray"
methods -
I've built this service already for  Apache and SOAP::Lite - for Apache,
the service uses
the  Bean serializer to map to/from a simple object. See

http://www.xmethods.net/detail.html?id=10  for SOAP::Lite
and
http://www.xmethods.net/detail.html?id=11   for Apache

Is  this what you are thinking of?

As  far as MS or 4s4c, I'm not sure of any other existing services that
involve
complex types - Simon, do you know of  any?

If  you describe the kind of type/structure you'd like to see built as an
"echo"  , I can make sure its part
of  the target test set and start the construction in a variety of
implementations, including the ones
you  mention.

Cheers,
Tony


-----Original Message-----
From: Sanjiva Weerawarana  [mailto:sanjiva@...]
Sent: Wednesday, January 31, 2001 9:42  AM
To: soapbuilders@yahoogroups.com
Subject: Re:  [soapbuilders] Interoperability lab


Hi  Tony,

I think this is a great idea! Thanks for starting the  work!

Do u know of a service implemented with MS SOAP, 4S4C, ... etc.  that uses
complex types and is available on the net? I'm trying to test  the apache
soap interoperabilty using complex types with non-Apache SOAP  services and
I can't seem to find interesting services to  try.

Also, what's the Yahoo group for this? I can't seem to find the  group to
change my email  address!

Bye,

Sanjiva.

Jacek Kopecky  <jacek@...> on 01/31/2001 10:23:07 AM

Please respond to  soapbuilders@yahoogroups.com

To:   Soapbuilders  <soapbuilders@yahoogroups.com>
cc:
Subject:  Re:  [soapbuilders] Interoperability lab



I'd add a circular  structure:

LinkedList echoLinkedList(LinkedList  linkedList)

where the definition in Java would be

public class  LinkedList {
    int x;
    LinkedList  next;
}

which means nullable and referenced next part. Sending a  circular list
through might also help.  8-)

                             Jacek  Kopecky
                                Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi  all
>
> I've mentioned to a couple of you that I'm going to  create
> an interoperability testbed. I'd like to get some  feedback
> from this group.
>
> For each if a number of  different SOAP implemenation, I'm
> planning to host a service that  exposes these methods
>
> String echoString(String  inputString)
> String[] echoStringArrray(String[]  inputStringArray)
> Integer echoInteger(Integer inputInteger)
>  Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float  echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[]  inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct  inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[]  inputStructArray)
>
> Where SOAPStruct is a simple structure  with integer, float, and
> string fields.
>
> Other  possibilities include:
> Hashmap / Associative array , using the  encoding proposed by
> the Apache folks.
> XML  Documents
>
> This "echo" service does nothing really useful  except
> illustrate the ability of the service to accept a  clients
> envelope, deserialize the types correctly, and then
>  reserialize the respones into something that the client
> can see if  it understands.
>
> I built this service for Apache 2.0 and  SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree  that
> it's been really useful for testing interop  issues.
>
>
> In addition to exposing these services, I  also plan to:
>
> * Publish wiredumps of the request and  response envelopes
> that each implementation uses - ie, each  implementations
> client
> * For those implementations that  dynamically generate
> WSDL, I will publish the WSDL generated for  each of these
> methods.
>
> I think this is a first step  to REALLY filling out those issues
> lists for SOAP and WSDL  interoperability. It's much easier to
> see the issues when all this  info is right in front of you.
>
> My question here is
>
> Does this set of types/methods make sense? Would you  modify
> this list in any way?
>
> Thanks for any  feedback!
>
> Tony
>
>  ----------------------------------------
> XMethods Web Services  Listings
> http://www.xmethods.net
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>
>



To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com








To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com




To  unsubscribe from this group, send an email  to:
soapbuilders-unsubscribe@yahoogroups.com




                                 Yahoo! Groups Sponsor




                                                         [IMAGE]
                [IMAGE]


                                                           !
                                   www. .com



           [IMAGE]



  To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com

#21 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 10:34 am
Subject: RE: WSDL and method names
thong@...
Send Email Send Email
 
Hi Jacek, Thanks for the example!
 
A couple of questions:
 
1.  In your soap:body element, you don't have use="encoded" or encoding style attribute. Are these implied or defaulted?
 
2.  The way you encoded your array "ArrayofInt" touches on a thread that Simon posted in the forum here: http://www.xmethods.net/ubb/Forum1/HTML/000004.html
 
The basic question is: can you use <all> for an array, rather than <sequence> ? the elements in <all> have a maxoccurs=1, thus it may be inappropriate for an array. or is there a misinterpreation somewhere?.
 
It would be great to see the envelopes - I'm curious as to how your Simple types are rendered on the wire .
 
Thanks!
 
Tony 
 
 
-----Original Message-----
From: Jacek Kopecky [mailto:jacek@...]
Sent: Wednesday, January 31, 2001 7:19 AM
To: soapbuilders@yahoogroups.com
Subject: Re: [soapbuilders] WSDL and method names

> > On a slightly different note, while i was working on the WSDL
> > generator for 4s4c, i tried various WSDL toolkits, and in
> > particular i
> > tried doing some array / complex type inter-op, and i couldn't get
> > of them to work cross-tool for arrays or complex types.
> Right, there (at least in SOAP::Lite) is no support for arrays and
> complex types. I don't want to implements it before I'll have clear
> understanding how to map it to user input.

When we were implementing our WSDL parser for our stub-generating
tools, we decided to go with some subset of XML Scheme that seemed to
describe the complex types the best.

> > I'd like to propose that we workup some well documented examples of
> > what WSDL should look like, and try and resolve some of the
> > outstanding issues that Tony Hong has already raised (which part of
> > WSDL controls the method names / responses, one way vs empty
> > response etc )
> It would be great! Who will take the lead? Author? :))

Attached is our demo WSDL description where we use both structures
and arrays. Comments welcome. 8-)

This WSDL description is parsable with version 1.0 of IdooXoap and
describes a (very demo-ish) service at our server soap.idoox.net. I
can post example requests sent by stubs generated from this WSDL so
that you know how we interpret the WSDL description.

I already know about one thing that we fixed after 1.0 that is
probably a problem with our understanding of WSDL, it's the body
element's namespace that isn't being put there in 1.0.

I think this might be a good starting point for creating that
well-documented example WSDL.

Enjoy! 8-)

                            Jacek Kopecky
                               Idoox


To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#20 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 8:34 am
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Simon, here's a snippet of SOAP::Lite that calls the echoStruct service. Paul, please don't beat me up if the Perl isn't pretty! :-)
 
---------------------------------------------------------------------------------------------
 
#!/usr/bin/perl
 
use SOAP::Lite;
 
SOAP::Data->import('name');
 
my %hash = (
        varInt => 5,
        varString => "test string",
        varFloat => 6.2
);
 
$h=SOAP::Lite
  -> uri ('urn:xmethodsInterop')
  -> proxy('http://services.xmethods.com:80/soap/servlet/rpcrouter')
  -> echoStruct(name("testStruct" => \%hash))
;
 
if($h->faultcode)
{print "FAULT CODE --------------------\n";
print $h->faultcode. "\n\n";
print "FAULT DETAIL--------------------\n";
print $h->faultstring. "\n";
}
else
{
print "RESULT --------------------\n";
foreach $k (keys %{$h->result})
{
print $k."\t".$h->result->{$k}."\n";
}
}
------------------------------------------------------------------------
 
It generates the following envelope:
 
POST /soap/servlet/rpcrouter HTTP/1.0
Host: tony:8080
User-Agent: SOAP::Lite/Perl/0.45
Content-Length: 662
Content-Type: text/xml
SOAPAction: "urn:xmethodsInterop#echoStruct"
 
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<namesp1:echoStruct xmlns:namesp1="urn:xmethodsInterop">
<testStruct xsi:type="namesp1:SOAPStruct">
<varFloat xsi:type="xsd:float">6.2</varFloat>
<varString xsi:type="xsd:string">test string</varString>
<varInt xsi:type="xsd:int">5</varInt></testStruct>
</namesp1:echoStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
---------------------------------------------------
 
And when you run it, here's the output bounced off the Apache version echoStruct method:
 
RESULT --------------------
varFloat        6.2
varString       test string
varInt  5
 
 
One thing to note: in versions prior to 0.46, the namespace of the generated structure is the same as the method namespace URI (in this case, urn:xmethodsInterop) . I believe in 0.46, this is now configurable. I'll let Paul comment on that .
 
Cheers,
Tony
-----Original Message-----
From: Simon Fell [mailto:soap@...]
Sent: Thursday, February 01, 2001 12:23 AM
To: soapbuilders@yahoogroups.com
Subject: Re: [soapbuilders] Interoperability lab

I've got an implementation of this running, i'll try and get it on a
public server tomorrow. I'm testing with SOAP::Lite as a client, can
anyone show me how to call the echoStruct method, i'm having trouble
getting the values nested in the inputStruct element (my perl skills
can only get better from this point <g>)

this is what i currently have

my @struct = (
      SOAP::Data->name(varInt => 42),
      SOAP::Data->name(varFloat => 42.42),
      SOAP::Data->name(varString => "SOAP::Lite to 4s4c")
      ) ;

my @parameters = (
      SOAP::Data->name(inputStruct => @struct )
      ) ;
     
print @{$soap->echoStruct(@parameters)->method}{'outputStruct'} , "\n"
;


For reference here are traces for the call to echoStringArray, one
thing i did notice is that SOAP::Lite types the array as namesp2:Array
whilst i'm typing it as SOAP-ENC:Array.

Cheers
Simon

------------------ SOAP::Lite request ---------------------------
POST /ilab/soap.asp HTTP/1.0
Host: localhost:8080
User-Agent: SOAP::Lite/Perl/0.45
Content-Type: text/xml
SOAPAction: "urn:xmethodsInterop#echoStringArray"

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body>
<namesp2:echoStringArray xmlns:namesp2="urn:xmethodsInterop">
<inputStringArray SOAP-ENC:arrayType="xsd:string[3]"
xsi:type="namesp2:Array">
<c-gensym9 xsi:type="xsd:string">SOAP::Lite</c-gensym9>
<c-gensym9 xsi:type="xsd:string">to</c-gensym9>
<c-gensym9 xsi:type="xsd:string">4s4c</c-gensym9>
</inputStringArray></namesp2:echoStringArray>
</SOAP-ENV:Body></SOAP-ENV:Envelope>


---------------------- 4s4c Response -----------------------------
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 01 Feb 2001 08:09:24 GMT
Connection: Keep-Alive
Content-Type: text/xml
Expires: Thu, 01 Feb 2001 08:09:24 GMT
Set-Cookie: ASPSESSIONIDGGQGQPMO=OOMLALIAMAFPCEFMOJNBNGGN; path=/
Cache-control: private

<?xml version="1.0"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body><m:echoStringArrayResponse
xmlns:m="urn:xmethodsInterop">
<outputStringArray xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[3]">
<item xsi:type="xsd:string">SOAP::Lite</item>
<item xsi:type="xsd:string">to</item>
<item xsi:type="xsd:string">4s4c</item>
</outputStringArray></m:echoStringArrayResponse>
</SOAP-ENV:Body></SOAP-ENV:Envelope>



On Wed, 31 Jan 2001 17:17:32 -0800, in soap you wrote:

>Sanjiva,
>
>One other note -  to illustrate the existing struct array test, here is the
>request/response wiredump. In
>this example, it's a Apache 2.0 client hitting a SOAPLite server (it works
>successfully) . Let me know if
>this is what you're thinking about, or if you need something different.
>Thanks
>
>Tony
>
>----------- Apache Requst -----------------------
>
>POST /perl/soaplite.cgi HTTP/1.0
>Host: tony:8080
>Content-Type: text/xml
>Content- Length: 541
>SOAPAction: "urn:xmethodsInterop#echoStruct"
>
><SOAP-ENV:Envelope
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:xsd="http://www.w3.org/1999/XMLSchema">
><SOAP-ENV:Body>
><ns1:echoStruct xmlns:ns1="urn:xmethodsInterop"
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
><echo xsi:type="ns1:SOAPStruct">
><varInt xsi:type="xsd:int">3</varInt>
><varFloat xsi:type="xsd:float">1.2</varFloat>
><varString xsi:type="xsd:string">Hello</varString>
></echo>
></ns1:echoStruct>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>------------- SOAPLite response --------------------------
>
>HTTP/1.1 200 OK
>Content- Length: 672
>Content-Type: text/xml
>glue-routing: true
>date: Thu, 01 Feb 2001 01:11:21 GMT
>server: Apache/1.3.14 (Unix) PHP/4.0.1pl2
>soapserver: SOAP::Lite/Perl/0.45
>
><?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
>xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/1999/XMLSchema">
><SOAP-ENV:Body>
><namesp1:echoStructResponse xmlns:namesp1="urn:xmethodsInterop">
><SOAPStruct xsi:type="namesp1:SOAPStruct">
><varFloat xsi:type="xsd:float">1.2</varFloat>
><varString xsi:type="xsd:string">Hello</varString>
><varInt xsi:type="xsd:int">3</varInt>
></SOAPStruct>
></namesp1:echoStructResponse>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>-----Original Message-----
>From: Tony Hong [mailto:thong@...]
>Sent: Wednesday, January 31, 2001 4:57 PM
>To: soapbuilders@yahoogroups.com
>Subject: RE: [soapbuilders] Interoperability lab
>
>
>  Hi Sanjiva,
>
>  Thanks, I'm glad you find the idea useful!
>
>  The yahoo group is listed now - I accidently delisted it from their
>directory, but it's
>  visible again. Just search for "soapbuilders" at groups.yahoo.com and you
>should
>  see it pop up .
>
>  The testbed as I've described has an "echoStruct" and "echoStructArray"
>methods -
>  I've built this service already for Apache and SOAP::Lite - for Apache,
>the service uses
>  the Bean serializer to map to/from a simple object. See
>
http://www.xmethods.net/detail.html?id=10 for SOAP::Lite
>  and
http://www.xmethods.net/detail.html?id=11  for Apache
>
>  Is this what you are thinking of?
>
>  As far as MS or 4s4c, I'm not sure of any other existing services that
>involve
>  complex types - Simon, do you know of any?
>
>  If you describe the kind of type/structure you'd like to see built as an
>"echo" , I can make sure its part
>  of the target test set and start the construction in a variety of
>implementations, including the ones
>  you mention.
>
>  Cheers,
>  Tony
>
>
>    -----Original Message-----
>    From: Sanjiva Weerawarana [mailto:sanjiva@...]
>    Sent: Wednesday, January 31, 2001 9:42 AM
>    To: soapbuilders@yahoogroups.com
>    Subject: Re: [soapbuilders] Interoperability lab
>
>
>
>    Hi Tony,
>
>    I think this is a great idea! Thanks for starting the work!
>
>    Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that
>uses
>    complex types and is available on the net? I'm trying to test the apache
>    soap interoperabilty using complex types with non-Apache SOAP services
>and
>    I can't seem to find interesting services to try.
>
>    Also, what's the Yahoo group for this? I can't seem to find the group to
>    change my email address!
>
>    Bye,
>
>    Sanjiva.
>
>    Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM
>
>    Please respond to soapbuilders@yahoogroups.com
>
>    To:   Soapbuilders <soapbuilders@yahoogroups.com>
>    cc:
>    Subject:  Re: [soapbuilders] Interoperability lab
>
>
>
>    I'd add a circular structure:
>
>    LinkedList echoLinkedList(LinkedList linkedList)
>
>    where the definition in Java would be
>
>    public class LinkedList {
>        int x;
>        LinkedList next;
>    }
>
>    which means nullable and referenced next part. Sending a circular list
>    through might also help. 8-)
>
>                                Jacek Kopecky
>                                   Idoox
>
>
>
>    On Wed, 31 Jan 2001, Tony Hong wrote:
>
>    > Hi all
>    >
>    > I've mentioned to a couple of you that I'm going to create
>    > an interoperability testbed. I'd like to get some feedback
>    > from this group.
>    >
>    > For each if a number of different SOAP implemenation, I'm
>    > planning to host a service that exposes these methods
>    >
>    > String echoString(String inputString)
>    > String[] echoStringArrray(String[] inputStringArray)
>    > Integer echoInteger(Integer inputInteger)
>    > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
>    > Float echoFloat(Float inputFloat)
>    > Float[] echoFloatArray(Float[] inputFloatArray)
>    > SOAPStruct echoStruct( SOAPStruct inputStruct)
>    > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>    >
>    > Where SOAPStruct is a simple structure with integer, float, and
>    > string fields.
>    >
>    > Other possibilities include:
>    > Hashmap / Associative array , using the encoding proposed by
>    > the Apache folks.
>    > XML Documents
>    >
>    > This "echo" service does nothing really useful except
>    > illustrate the ability of the service to accept a clients
>    > envelope, deserialize the types correctly, and then
>    > reserialize the respones into something that the client
>    > can see if it understands.
>    >
>    > I built this service for Apache 2.0 and SOAP::Lite a few
>    > months ago, and I think Paul Kulchenko will agree that
>    > it's been really useful for testing interop issues.
>    >
>    >
>    > In addition to exposing these services, I also plan to:
>    >
>    > * Publish wiredumps of the request and response envelopes
>    > that each implementation uses - ie, each implementations
>    > client
>    > * For those implementations that dynamically generate
>    > WSDL, I will publish the WSDL generated for each of these
>    > methods.
>    >
>    > I think this is a first step to REALLY filling out those issues
>    > lists for SOAP and WSDL interoperability. It's much easier to
>    > see the issues when all this info is right in front of you.
>    >
>    > My question here is :
>    >
>    > Does this set of types/methods make sense? Would you modify
>    > this list in any way?
>    >
>    > Thanks for any feedback!
>    >
>    > Tony



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#19 From: Simon Fell <soap@...>
Date: Thu Feb 1, 2001 8:22 am
Subject: Re: Interoperability lab
soap@...
Send Email Send Email
 
I've got an implementation of this running, i'll try and get it on a
public server tomorrow. I'm testing with SOAP::Lite as a client, can
anyone show me how to call the echoStruct method, i'm having trouble
getting the values nested in the inputStruct element (my perl skills
can only get better from this point <g>)

this is what i currently have

my @struct = (
	 SOAP::Data->name(varInt => 42),
	 SOAP::Data->name(varFloat => 42.42),
	 SOAP::Data->name(varString => "SOAP::Lite to 4s4c")
	 ) ;

my @parameters = (
	 SOAP::Data->name(inputStruct => @struct )
	 ) ;

print @{$soap->echoStruct(@parameters)->method}{'outputStruct'} , "\n"
;


For reference here are traces for the call to echoStringArray, one
thing i did notice is that SOAP::Lite types the array as namesp2:Array
whilst i'm typing it as SOAP-ENC:Array.

Cheers
Simon

------------------ SOAP::Lite request ---------------------------
POST /ilab/soap.asp HTTP/1.0
Host: localhost:8080
User-Agent: SOAP::Lite/Perl/0.45
Content-Length: 727
Content-Type: text/xml
SOAPAction: "urn:xmethodsInterop#echoStringArray"

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body>
<namesp2:echoStringArray xmlns:namesp2="urn:xmethodsInterop">
<inputStringArray SOAP-ENC:arrayType="xsd:string[3]"
xsi:type="namesp2:Array">
<c-gensym9 xsi:type="xsd:string">SOAP::Lite</c-gensym9>
<c-gensym9 xsi:type="xsd:string">to</c-gensym9>
<c-gensym9 xsi:type="xsd:string">4s4c</c-gensym9>
</inputStringArray></namesp2:echoStringArray>
</SOAP-ENV:Body></SOAP-ENV:Envelope>


---------------------- 4s4c Response -----------------------------
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 01 Feb 2001 08:09:24 GMT
Connection: Keep-Alive
Content-Length: 681
Content-Type: text/xml
Expires: Thu, 01 Feb 2001 08:09:24 GMT
Set-Cookie: ASPSESSIONIDGGQGQPMO=OOMLALIAMAFPCEFMOJNBNGGN; path=/
Cache-control: private

<?xml version="1.0"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body><m:echoStringArrayResponse
xmlns:m="urn:xmethodsInterop">
<outputStringArray xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[3]">
<item xsi:type="xsd:string">SOAP::Lite</item>
<item xsi:type="xsd:string">to</item>
<item xsi:type="xsd:string">4s4c</item>
</outputStringArray></m:echoStringArrayResponse>
</SOAP-ENV:Body></SOAP-ENV:Envelope>



On Wed, 31 Jan 2001 17:17:32 -0800, in soap you wrote:

>Sanjiva,
>
>One other note -  to illustrate the existing struct array test, here is the
>request/response wiredump. In
>this example, it's a Apache 2.0 client hitting a SOAPLite server (it works
>successfully) . Let me know if
>this is what you're thinking about, or if you need something different.
>Thanks
>
>Tony
>
>----------- Apache Requst -----------------------
>
>POST /perl/soaplite.cgi HTTP/1.0
>Host: tony:8080
>Content-Type: text/xml
>Content- Length: 541
>SOAPAction: "urn:xmethodsInterop#echoStruct"
>
><SOAP-ENV:Envelope
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:xsd="http://www.w3.org/1999/XMLSchema">
><SOAP-ENV:Body>
><ns1:echoStruct xmlns:ns1="urn:xmethodsInterop"
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
><echo xsi:type="ns1:SOAPStruct">
><varInt xsi:type="xsd:int">3</varInt>
><varFloat xsi:type="xsd:float">1.2</varFloat>
><varString xsi:type="xsd:string">Hello</varString>
></echo>
></ns1:echoStruct>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>------------- SOAPLite response --------------------------
>
>HTTP/1.1 200 OK
>Content- Length: 672
>Content-Type: text/xml
>glue-routing: true
>date: Thu, 01 Feb 2001 01:11:21 GMT
>server: Apache/1.3.14 (Unix) PHP/4.0.1pl2
>soapserver: SOAP::Lite/Perl/0.45
>
><?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
>xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/1999/XMLSchema">
><SOAP-ENV:Body>
><namesp1:echoStructResponse xmlns:namesp1="urn:xmethodsInterop">
><SOAPStruct xsi:type="namesp1:SOAPStruct">
><varFloat xsi:type="xsd:float">1.2</varFloat>
><varString xsi:type="xsd:string">Hello</varString>
><varInt xsi:type="xsd:int">3</varInt>
></SOAPStruct>
></namesp1:echoStructResponse>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>-----Original Message-----
>From: Tony Hong [mailto:thong@...]
>Sent: Wednesday, January 31, 2001 4:57 PM
>To: soapbuilders@yahoogroups.com
>Subject: RE: [soapbuilders] Interoperability lab
>
>
>  Hi Sanjiva,
>
>  Thanks, I'm glad you find the idea useful!
>
>  The yahoo group is listed now - I accidently delisted it from their
>directory, but it's
>  visible again. Just search for "soapbuilders" at groups.yahoo.com and you
>should
>  see it pop up .
>
>  The testbed as I've described has an "echoStruct" and "echoStructArray"
>methods -
>  I've built this service already for Apache and SOAP::Lite - for Apache,
>the service uses
>  the Bean serializer to map to/from a simple object. See
>
>  http://www.xmethods.net/detail.html?id=10 for SOAP::Lite
>  and
>  http://www.xmethods.net/detail.html?id=11  for Apache
>
>  Is this what you are thinking of?
>
>  As far as MS or 4s4c, I'm not sure of any other existing services that
>involve
>  complex types - Simon, do you know of any?
>
>  If you describe the kind of type/structure you'd like to see built as an
>"echo" , I can make sure its part
>  of the target test set and start the construction in a variety of
>implementations, including the ones
>  you mention.
>
>  Cheers,
>  Tony
>
>
>    -----Original Message-----
>    From: Sanjiva Weerawarana [mailto:sanjiva@...]
>    Sent: Wednesday, January 31, 2001 9:42 AM
>    To: soapbuilders@yahoogroups.com
>    Subject: Re: [soapbuilders] Interoperability lab
>
>
>
>    Hi Tony,
>
>    I think this is a great idea! Thanks for starting the work!
>
>    Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that
>uses
>    complex types and is available on the net? I'm trying to test the apache
>    soap interoperabilty using complex types with non-Apache SOAP services
>and
>    I can't seem to find interesting services to try.
>
>    Also, what's the Yahoo group for this? I can't seem to find the group to
>    change my email address!
>
>    Bye,
>
>    Sanjiva.
>
>    Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM
>
>    Please respond to soapbuilders@yahoogroups.com
>
>    To:   Soapbuilders <soapbuilders@yahoogroups.com>
>    cc:
>    Subject:  Re: [soapbuilders] Interoperability lab
>
>
>
>    I'd add a circular structure:
>
>    LinkedList echoLinkedList(LinkedList linkedList)
>
>    where the definition in Java would be
>
>    public class LinkedList {
>        int x;
>        LinkedList next;
>    }
>
>    which means nullable and referenced next part. Sending a circular list
>    through might also help. 8-)
>
>                                Jacek Kopecky
>                                   Idoox
>
>
>
>    On Wed, 31 Jan 2001, Tony Hong wrote:
>
>    > Hi all
>    >
>    > I've mentioned to a couple of you that I'm going to create
>    > an interoperability testbed. I'd like to get some feedback
>    > from this group.
>    >
>    > For each if a number of different SOAP implemenation, I'm
>    > planning to host a service that exposes these methods
>    >
>    > String echoString(String inputString)
>    > String[] echoStringArrray(String[] inputStringArray)
>    > Integer echoInteger(Integer inputInteger)
>    > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
>    > Float echoFloat(Float inputFloat)
>    > Float[] echoFloatArray(Float[] inputFloatArray)
>    > SOAPStruct echoStruct( SOAPStruct inputStruct)
>    > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>    >
>    > Where SOAPStruct is a simple structure with integer, float, and
>    > string fields.
>    >
>    > Other possibilities include:
>    > Hashmap / Associative array , using the encoding proposed by
>    > the Apache folks.
>    > XML Documents
>    >
>    > This "echo" service does nothing really useful except
>    > illustrate the ability of the service to accept a clients
>    > envelope, deserialize the types correctly, and then
>    > reserialize the respones into something that the client
>    > can see if it understands.
>    >
>    > I built this service for Apache 2.0 and SOAP::Lite a few
>    > months ago, and I think Paul Kulchenko will agree that
>    > it's been really useful for testing interop issues.
>    >
>    >
>    > In addition to exposing these services, I also plan to:
>    >
>    > * Publish wiredumps of the request and response envelopes
>    > that each implementation uses - ie, each implementations
>    > client
>    > * For those implementations that dynamically generate
>    > WSDL, I will publish the WSDL generated for each of these
>    > methods.
>    >
>    > I think this is a first step to REALLY filling out those issues
>    > lists for SOAP and WSDL interoperability. It's much easier to
>    > see the issues when all this info is right in front of you.
>    >
>    > My question here is :
>    >
>    > Does this set of types/methods make sense? Would you modify
>    > this list in any way?
>    >
>    > Thanks for any feedback!
>    >
>    > Tony

#18 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 8:04 am
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Simon, and for that matter everyone else,
 
If you want temporary (or permanent) place to host services (including test ones), let me know - I have excess T1 bandwidth and VMWare at my disposal....
 
Cheers,
Tony
-----Original Message-----
From: Simon Fell [mailto:soap@...]
Sent: Wednesday, January 31, 2001 9:15 PM
To: soapbuilders@yahoogroups.com
Subject: Re: [soapbuilders] Interoperability lab

Hi,

The basic 4s4c install includes some tests with complex types,
including a shell version of the server end of the address book sample
in Apache SOAP. When we've decided on what the test set looks like i'm
more than happy to put together the 4s4c versions. Peter Drayton who
currently hosts a public reachable 4s4c server is having some major
connectivity problems at the minute, i'm hoping to get another public
server up soon.

Out of the MS toolkits, only the SOAP support in .NET supports complex
types and arrays, both ROPE and the new v2 beta 1 toolkit are limited
to simple types.

Cheers
Simon

On Wed, 31 Jan 2001 16:57:02 -0800, in soap you wrote:

>Hi Sanjiva,
>
>Thanks, I'm glad you find the idea useful!
>
>The yahoo group is listed now - I accidently delisted it from their
>directory, but it's
>visible again. Just search for "soapbuilders" at groups.yahoo.com and you
>should
>see it pop up .
>
>The testbed as I've described has an "echoStruct" and "echoStructArray"
>methods -
>I've built this service already for Apache and SOAP::Lite - for Apache, the
>service uses
>the Bean serializer to map to/from a simple object. See
>
>http://www.xmethods.net/detail.html?id=10 for SOAP::Lite
>and
>http://www.xmethods.net/detail.html?id=11  for Apache
>
>Is this what you are thinking of?
>
>As far as MS or 4s4c, I'm not sure of any other existing services that
>involve
>complex types - Simon, do you know of any?
>
>If you describe the kind of type/structure you'd like to see built as an
>"echo" , I can make sure its part
>of the target test set and start the construction in a variety of
>implementations, including the ones
>you mention.
>
>Cheers,
>Tony
>
>
>  -----Original Message-----
>  From: Sanjiva Weerawarana [mailto:sanjiva@...]
>  Sent: Wednesday, January 31, 2001 9:42 AM
>  To: soapbuilders@yahoogroups.com
>  Subject: Re: [soapbuilders] Interoperability lab
>
>
>
>  Hi Tony,
>
>  I think this is a great idea! Thanks for starting the work!
>
>  Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that uses
>  complex types and is available on the net? I'm trying to test the apache
>  soap interoperabilty using complex types with non-Apache SOAP services and
>  I can't seem to find interesting services to try.
>
>  Also, what's the Yahoo group for this? I can't seem to find the group to
>  change my email address!
>
>  Bye,
>
>  Sanjiva.
>
>  Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM
>
>  Please respond to soapbuilders@yahoogroups.com
>
>  To:   Soapbuilders <soapbuilders@yahoogroups.com>
>  cc:
>  Subject:  Re: [soapbuilders] Interoperability lab
>
>
>
>  I'd add a circular structure:
>
>  LinkedList echoLinkedList(LinkedList linkedList)
>
>  where the definition in Java would be
>
>  public class LinkedList {
>      int x;
>      LinkedList next;
>  }
>
>  which means nullable and referenced next part. Sending a circular list
>  through might also help. 8-)
>
>                              Jacek Kopecky
>                                 Idoox
>
>
>
>  On Wed, 31 Jan 2001, Tony Hong wrote:
>
>  > Hi all
>  >
>  > I've mentioned to a couple of you that I'm going to create
>  > an interoperability testbed. I'd like to get some feedback
>  > from this group.
>  >
>  > For each if a number of different SOAP implemenation, I'm
>  > planning to host a service that exposes these methods
>  >
>  > String echoString(String inputString)
>  > String[] echoStringArrray(String[] inputStringArray)
>  > Integer echoInteger(Integer inputInteger)
>  > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
>  > Float echoFloat(Float inputFloat)
>  > Float[] echoFloatArray(Float[] inputFloatArray)
>  > SOAPStruct echoStruct( SOAPStruct inputStruct)
>  > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>  >
>  > Where SOAPStruct is a simple structure with integer, float, and
>  > string fields.
>  >
>  > Other possibilities include:
>  > Hashmap / Associative array , using the encoding proposed by
>  > the Apache folks.
>  > XML Documents
>  >
>  > This "echo" service does nothing really useful except
>  > illustrate the ability of the service to accept a clients
>  > envelope, deserialize the types correctly, and then
>  > reserialize the respones into something that the client
>  > can see if it understands.
>  >
>  > I built this service for Apache 2.0 and SOAP::Lite a few
>  > months ago, and I think Paul Kulchenko will agree that
>  > it's been really useful for testing interop issues.
>  >
>  >
>  > In addition to exposing these services, I also plan to:
>  >
>  > * Publish wiredumps of the request and response envelopes
>  > that each implementation uses - ie, each implementations
>  > client
>  > * For those implementations that dynamically generate
>  > WSDL, I will publish the WSDL generated for each of these
>  > methods.
>  >
>  > I think this is a first step to REALLY filling out those issues
>  > lists for SOAP and WSDL interoperability. It's much easier to
>  > see the issues when all this info is right in front of you.
>  >
>  > My question here is :
>  >
>  > Does this set of types/methods make sense? Would you modify
>  > this list in any way?
>  >
>  > Thanks for any feedback!
>  >
>  > Tony
>  >
>  > ----------------------------------------
>  > XMethods Web Services Listings
>  > http://www.xmethods.net
>  >
>  >
>  > To unsubscribe from this group, send an email to:
>  > soapbuilders-unsubscribe@yahoogroups.com
>  >
>  >
>  >
>
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>
>
>
>
>
>
>        Yahoo! Groups Sponsor
>
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#17 From: Simon Fell <soap@...>
Date: Thu Feb 1, 2001 7:17 am
Subject: (fwd) Re: WSDL and method names
soap@...
Send Email Send Email
 
Dave,

I took my findings on writing a WSDL file for Manila to the
soapbuilders list (we were discussing WSDL inter-op), and Paul pointed
out that /'s in element names don't appear to be valid XML. Is my
interpretation of the Manila SOAP spec[1] correct ? i.e. Manila
expects a SOAP request similar to

<S:Envelope ...>
<S:Body>
<css/get>
	 <username>...</username>
	 <password>...</password>
	 <siteName>...</siteName>
</css/get>
</S:Body>
</S:Envelope>

Cheers
Simon
[1]http://www.xml-rpc.com/manilaRpcSpec#callingManilaRpcHandlersUsingSoap


On Wed, 31 Jan 2001 06:29:02 -0800 (PST), in soap Paul Kulchenko
<paulclinger@...> wrote:

>Hi, Simon!
>
>--- Simon Fell <soap@...> wrote:
>> couple of separate issues here
>> 1. There is no reason why a soap request of <css/get>...</css/get>
>> needs to be mapped directly to a language method of css/get,
>> different
>> languages have different rules on legal names, and they are going
>> to have to escape them in a manner that works for that language.
>True, but if other implementation expect to get css/get there is no
>way for client to alter this name on wire.
>
>> 2. I had no trouble generating and parsing a SOAP message using
>> that
>> format, but i just had a quick look through the XML spec and i'm
>> not sure if it is a valid element name or not.
>[40]    STag    ::=    '<' Name (S Attribute)* S? '>'
> [5]    Name    ::=    (Letter | '_' | ':') (NameChar)*
>[84]    Letter    ::=    BaseChar | Ideographic
> [4]    NameChar    ::=    Letter | Digit | '.' | '-' | '_' | ':' |
>CombiningChar | Extender
>[85]    BaseChar    ::=    [#x0041-#x005A] | [#x0061-#x007A] | .....
>
>So, as I understand there is no place for '/'.
>
>Best wishes, Paul.

#16 From: Simon Fell <soap@...>
Date: Thu Feb 1, 2001 6:46 am
Subject: Re: WSDL and method names
soap@...
Send Email Send Email
 
> Attached is our demo WSDL description where we use both structures
>and arrays. Comments welcome. 8-)

Thanks Jacek, i have a few comments.

1. in binding\operation\input\soap:body & output\soap:body
there's no "use" attribute, the WSDL spec says that this is required,
and if set to "encoded" as i think it should for your example, it also
needs an encodingStyle attribute e.g.

<operation name='revert'>
  <soap:operation soapAction=""/>
   <input>
    <soap:body use="encoded" namespace="http://my.org/structures.xsd"
	 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
   </input>
   <output>
    <soap:body use="encoded" namespace="http://my.org/structures.xsd"
	 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
   </output>
</operation>

2. under types you have a couple of type="soap:reference", i couldn't
find this in the spec at all.

3. you have the following definition
<complexType name="SimpleArray">
<sequence>
<element name="a" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
<element name="b" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
<element name="c" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
<element name="d" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
</sequence>
</complexType>

You've called this SimpleArray, but it looks more than a struct than
an array.

5. for your ArrayofInt you have
<complexType name="ArrayOfInt" base="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<all>
  <element name="x" type="xsd:int"/>
</all>
</complexType>

based on a disucsion[1] on soap@... with Martin Gudgen
i believe that arrays should be

<complexType name="ArrayOfint" base="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
  <sequence>
   <element name="item" type="xsd:int" minOccurs='0'
maxOccurs='unbounded' />
  </sequence>
</complexType>

Note that this is slightly different from Martins post and takes into
account the correct scoping of Array as per Jacek's example. This of
course is different to Erik Christensen's earlier array example[2]

6. The final issue is that over the version of the XML Schema in use,
the WSDL spec doesn't mandate a particular version or even mandate the
use of XML Schama's. This makes it nice and extensible, but a complete
nightmare from an inter-op point of view. Unfortunately the spec
doesn't indicate anyway for the client to indicate any preference in
which schema language it would like to receive type information in,
the likely result being that some OOB communication is used to pick a
schema language. RDDL is picking up momentum as a mechanism for
finding meta data available in many formats, it may be an interesting
exercise to see if a WSDL client could use RDDL to negotiate which
schema language it wanted type information in.


I think at this point i could tweak the 4s4c WSDL generator to output
the newer schema version, and it would likely inter-op with IdooXoap
at this point.

Cheers
Simon


[1]http://discuss.develop.com/archives/wa.exe?A2=ind0101&L=SOAP&P=R1343
[2]http://discuss.develop.com/archives/wa.exe?A2=ind0011&L=SOAP&P=R11363

#15 From: Simon Fell <soap@...>
Date: Thu Feb 1, 2001 5:14 am
Subject: Re: Interoperability lab
soap@...
Send Email Send Email
 
Hi,

The basic 4s4c install includes some tests with complex types,
including a shell version of the server end of the address book sample
in Apache SOAP. When we've decided on what the test set looks like i'm
more than happy to put together the 4s4c versions. Peter Drayton who
currently hosts a public reachable 4s4c server is having some major
connectivity problems at the minute, i'm hoping to get another public
server up soon.

Out of the MS toolkits, only the SOAP support in .NET supports complex
types and arrays, both ROPE and the new v2 beta 1 toolkit are limited
to simple types.

Cheers
Simon

On Wed, 31 Jan 2001 16:57:02 -0800, in soap you wrote:

>Hi Sanjiva,
>
>Thanks, I'm glad you find the idea useful!
>
>The yahoo group is listed now - I accidently delisted it from their
>directory, but it's
>visible again. Just search for "soapbuilders" at groups.yahoo.com and you
>should
>see it pop up .
>
>The testbed as I've described has an "echoStruct" and "echoStructArray"
>methods -
>I've built this service already for Apache and SOAP::Lite - for Apache, the
>service uses
>the Bean serializer to map to/from a simple object. See
>
>http://www.xmethods.net/detail.html?id=10 for SOAP::Lite
>and
>http://www.xmethods.net/detail.html?id=11  for Apache
>
>Is this what you are thinking of?
>
>As far as MS or 4s4c, I'm not sure of any other existing services that
>involve
>complex types - Simon, do you know of any?
>
>If you describe the kind of type/structure you'd like to see built as an
>"echo" , I can make sure its part
>of the target test set and start the construction in a variety of
>implementations, including the ones
>you mention.
>
>Cheers,
>Tony
>
>
>  -----Original Message-----
>  From: Sanjiva Weerawarana [mailto:sanjiva@...]
>  Sent: Wednesday, January 31, 2001 9:42 AM
>  To: soapbuilders@yahoogroups.com
>  Subject: Re: [soapbuilders] Interoperability lab
>
>
>
>  Hi Tony,
>
>  I think this is a great idea! Thanks for starting the work!
>
>  Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that uses
>  complex types and is available on the net? I'm trying to test the apache
>  soap interoperabilty using complex types with non-Apache SOAP services and
>  I can't seem to find interesting services to try.
>
>  Also, what's the Yahoo group for this? I can't seem to find the group to
>  change my email address!
>
>  Bye,
>
>  Sanjiva.
>
>  Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM
>
>  Please respond to soapbuilders@yahoogroups.com
>
>  To:   Soapbuilders <soapbuilders@yahoogroups.com>
>  cc:
>  Subject:  Re: [soapbuilders] Interoperability lab
>
>
>
>  I'd add a circular structure:
>
>  LinkedList echoLinkedList(LinkedList linkedList)
>
>  where the definition in Java would be
>
>  public class LinkedList {
>      int x;
>      LinkedList next;
>  }
>
>  which means nullable and referenced next part. Sending a circular list
>  through might also help. 8-)
>
>                              Jacek Kopecky
>                                 Idoox
>
>
>
>  On Wed, 31 Jan 2001, Tony Hong wrote:
>
>  > Hi all
>  >
>  > I've mentioned to a couple of you that I'm going to create
>  > an interoperability testbed. I'd like to get some feedback
>  > from this group.
>  >
>  > For each if a number of different SOAP implemenation, I'm
>  > planning to host a service that exposes these methods
>  >
>  > String echoString(String inputString)
>  > String[] echoStringArrray(String[] inputStringArray)
>  > Integer echoInteger(Integer inputInteger)
>  > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
>  > Float echoFloat(Float inputFloat)
>  > Float[] echoFloatArray(Float[] inputFloatArray)
>  > SOAPStruct echoStruct( SOAPStruct inputStruct)
>  > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>  >
>  > Where SOAPStruct is a simple structure with integer, float, and
>  > string fields.
>  >
>  > Other possibilities include:
>  > Hashmap / Associative array , using the encoding proposed by
>  > the Apache folks.
>  > XML Documents
>  >
>  > This "echo" service does nothing really useful except
>  > illustrate the ability of the service to accept a clients
>  > envelope, deserialize the types correctly, and then
>  > reserialize the respones into something that the client
>  > can see if it understands.
>  >
>  > I built this service for Apache 2.0 and SOAP::Lite a few
>  > months ago, and I think Paul Kulchenko will agree that
>  > it's been really useful for testing interop issues.
>  >
>  >
>  > In addition to exposing these services, I also plan to:
>  >
>  > * Publish wiredumps of the request and response envelopes
>  > that each implementation uses - ie, each implementations
>  > client
>  > * For those implementations that dynamically generate
>  > WSDL, I will publish the WSDL generated for each of these
>  > methods.
>  >
>  > I think this is a first step to REALLY filling out those issues
>  > lists for SOAP and WSDL interoperability. It's much easier to
>  > see the issues when all this info is right in front of you.
>  >
>  > My question here is :
>  >
>  > Does this set of types/methods make sense? Would you modify
>  > this list in any way?
>  >
>  > Thanks for any feedback!
>  >
>  > Tony
>  >
>  > ----------------------------------------
>  > XMethods Web Services Listings
>  > http://www.xmethods.net
>  >
>  >
>  > To unsubscribe from this group, send an email to:
>  > soapbuilders-unsubscribe@yahoogroups.com
>  >
>  >
>  >
>
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>
>
>
>
>
>
>        Yahoo! Groups Sponsor
>
>
>
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@yahoogroups.com
>
>

#14 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 4:40 am
Subject: Quick administrative note
thong@...
Send Email Send Email
 
Per Sanjiva's earlier email,

Even though the "soapbuilders" group has been relisted in the Yahoo
directory, it remains off the search indexes, so nothing shows up if
you search from the groups.yahoo.com front page (contrary to what I
said earlier).

You can reach the group page directly at

http://groups.yahoo.com/group/soapbuilders

Sorry for the confusion!

Tony





----------------------------------------
XMethods Web Services Listings
http://www.xmethods.net

#13 From: Simon Fell <sfell@...>
Date: Thu Feb 1, 2001 1:29 am
Subject: RE: Interoperability lab
sfell@...
Send Email Send Email
 
On a somewhat related topic, I'd like to see a nested structs test.
 
Also, the userland folks put together a set of validation tests for xml-rpc, it may be worth seeing what they've included in their tests.
 
Cheers
Simon
 
-----Original Message-----
From: Tony Hong [mailto:thong@...]
Sent: Wednesday, January 31, 2001 5:24 PM
To: soapbuilders@yahoogroups.com
Subject: RE: [soapbuilders] Interoperability lab

Thanks Jacek and Graham for your suggestions ! They are great ideas. I'll be sure to incorporate them into the tests.
 
Tony
-----Original Message-----
From: Jacek Kopecky [mailto:jacek@...]
Sent: Wednesday, January 31, 2001 7:23 AM
To: Soapbuilders
Subject: Re: [soapbuilders] Interoperability lab

I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
    int x;
    LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                            Jacek Kopecky
                               Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi all
>
> I've mentioned to a couple of you that I'm going to create
> an interoperability testbed. I'd like to get some feedback
> from this group.
>
> For each if a number of different SOAP implemenation, I'm
> planning to host a service that exposes these methods
>
> String echoString(String inputString)
> String[] echoStringArrray(String[] inputStringArray)
> Integer echoInteger(Integer inputInteger)
> Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[] inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>
> Where SOAPStruct is a simple structure with integer, float, and
> string fields.
>
> Other possibilities include:
> Hashmap / Associative array , using the encoding proposed by
> the Apache folks.
> XML Documents
>
> This "echo" service does nothing really useful except
> illustrate the ability of the service to accept a clients
> envelope, deserialize the types correctly, and then
> reserialize the respones into something that the client
> can see if it understands.
>
> I built this service for Apache 2.0 and SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree that
> it's been really useful for testing interop issues.
>
>
> In addition to exposing these services, I also plan to:
>
> * Publish wiredumps of the request and response envelopes
> that each implementation uses - ie, each implementations
> client
> * For those implementations that dynamically generate
> WSDL, I will publish the WSDL generated for each of these
> methods.
>
> I think this is a first step to REALLY filling out those issues
> lists for SOAP and WSDL interoperability. It's much easier to
> see the issues when all this info is right in front of you.
>
> My question here is :
>
> Does this set of types/methods make sense? Would you modify
> this list in any way?
>
> Thanks for any feedback!
>
> Tony
>
> ----------------------------------------
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> To unsubscribe from this group, send an email to:
> soapbuilders-unsubscribe@yahoogroups.com
>
>
>




#12 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 1:24 am
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Thanks Jacek and Graham for your suggestions ! They are great ideas. I'll be sure to incorporate them into the tests.
 
Tony
-----Original Message-----
From: Jacek Kopecky [mailto:jacek@...]
Sent: Wednesday, January 31, 2001 7:23 AM
To: Soapbuilders
Subject: Re: [soapbuilders] Interoperability lab

I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
    int x;
    LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                            Jacek Kopecky
                               Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi all
>
> I've mentioned to a couple of you that I'm going to create
> an interoperability testbed. I'd like to get some feedback
> from this group.
>
> For each if a number of different SOAP implemenation, I'm
> planning to host a service that exposes these methods
>
> String echoString(String inputString)
> String[] echoStringArrray(String[] inputStringArray)
> Integer echoInteger(Integer inputInteger)
> Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[] inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>
> Where SOAPStruct is a simple structure with integer, float, and
> string fields.
>
> Other possibilities include:
> Hashmap / Associative array , using the encoding proposed by
> the Apache folks.
> XML Documents
>
> This "echo" service does nothing really useful except
> illustrate the ability of the service to accept a clients
> envelope, deserialize the types correctly, and then
> reserialize the respones into something that the client
> can see if it understands.
>
> I built this service for Apache 2.0 and SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree that
> it's been really useful for testing interop issues.
>
>
> In addition to exposing these services, I also plan to:
>
> * Publish wiredumps of the request and response envelopes
> that each implementation uses - ie, each implementations
> client
> * For those implementations that dynamically generate
> WSDL, I will publish the WSDL generated for each of these
> methods.
>
> I think this is a first step to REALLY filling out those issues
> lists for SOAP and WSDL interoperability. It's much easier to
> see the issues when all this info is right in front of you.
>
> My question here is :
>
> Does this set of types/methods make sense? Would you modify
> this list in any way?
>
> Thanks for any feedback!
>
> Tony
>
> ----------------------------------------
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> To unsubscribe from this group, send an email to:
> soapbuilders-unsubscribe@yahoogroups.com
>
>
>



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#11 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 1:17 am
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Sanjiva,
 
One other note -  to illustrate the existing struct array test, here is the request/response wiredump. In
this example, it's a Apache 2.0 client hitting a SOAPLite server (it works successfully) . Let me know if
this is what you're thinking about, or if you need something different. Thanks
 
Tony
 
----------- Apache Requst -----------------------
 
POST /perl/soaplite.cgi HTTP/1.0
Host: tony:8080
Content-Type: text/xml
Content- Length: 541
SOAPAction: "urn:xmethodsInterop#echoStruct"
 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:echoStruct xmlns:ns1="urn:xmethodsInterop" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<echo xsi:type="ns1:SOAPStruct">
<varInt xsi:type="xsd:int">3</varInt>
<varFloat xsi:type="xsd:float">1.2</varFloat>
<varString xsi:type="xsd:string">Hello</varString>
</echo>
</ns1:echoStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
------------- SOAPLite response --------------------------
 
HTTP/1.1 200 OK
Content- Length: 672
Content-Type: text/xml
glue-routing: true
date: Thu, 01 Feb 2001 01:11:21 GMT
server: Apache/1.3.14 (Unix) PHP/4.0.1pl2
soapserver: SOAP::Lite/Perl/0.45
 
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema">  
<SOAP-ENV:Body>
<namesp1:echoStructResponse xmlns:namesp1="urn:xmethodsInterop">
<SOAPStruct xsi:type="namesp1:SOAPStruct">
<varFloat xsi:type="xsd:float">1.2</varFloat>
<varString xsi:type="xsd:string">Hello</varString>
<varInt xsi:type="xsd:int">3</varInt>
</SOAPStruct>
</namesp1:echoStructResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
-----Original Message-----
From: Tony Hong [mailto:thong@...]
Sent: Wednesday, January 31, 2001 4:57 PM
To: soapbuilders@yahoogroups.com
Subject: RE: [soapbuilders] Interoperability lab

Hi Sanjiva,
 
Thanks, I'm glad you find the idea useful!
 
The yahoo group is listed now - I accidently delisted it from their directory, but it's
visible again. Just search for "soapbuilders" at groups.yahoo.com and you should
see it pop up .
 
The testbed as I've described has an "echoStruct" and "echoStructArray" methods -
I've built this service already for Apache and SOAP::Lite - for Apache, the service uses
the Bean serializer to map to/from a simple object. See
 
and
 
Is this what you are thinking of?
 
As far as MS or 4s4c, I'm not sure of any other existing services that involve
complex types - Simon, do you know of any?
 
If you describe the kind of type/structure you'd like to see built as an "echo" , I can make sure its part
of the target test set and start the construction in a variety of implementations, including the ones
you mention.
 
Cheers,
Tony
 
 
-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@...]
Sent: Wednesday, January 31, 2001 9:42 AM
To: soapbuilders@yahoogroups.com
Subject: Re: [soapbuilders] Interoperability lab


Hi Tony,

I think this is a great idea! Thanks for starting the work!

Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that uses
complex types and is available on the net? I'm trying to test the apache
soap interoperabilty using complex types with non-Apache SOAP services and
I can't seem to find interesting services to try.

Also, what's the Yahoo group for this? I can't seem to find the group to
change my email address!

Bye,

Sanjiva.

Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM

Please respond to soapbuilders@yahoogroups.com

To:   Soapbuilders <soapbuilders@yahoogroups.com>
cc:
Subject:  Re: [soapbuilders] Interoperability lab



I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
    int x;
    LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                            Jacek Kopecky
                               Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi all
>
> I've mentioned to a couple of you that I'm going to create
> an interoperability testbed. I'd like to get some feedback
> from this group.
>
> For each if a number of different SOAP implemenation, I'm
> planning to host a service that exposes these methods
>
> String echoString(String inputString)
> String[] echoStringArrray(String[] inputStringArray)
> Integer echoInteger(Integer inputInteger)
> Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[] inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>
> Where SOAPStruct is a simple structure with integer, float, and
> string fields.
>
> Other possibilities include:
> Hashmap / Associative array , using the encoding proposed by
> the Apache folks.
> XML Documents
>
> This "echo" service does nothing really useful except
> illustrate the ability of the service to accept a clients
> envelope, deserialize the types correctly, and then
> reserialize the respones into something that the client
> can see if it understands.
>
> I built this service for Apache 2.0 and SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree that
> it's been really useful for testing interop issues.
>
>
> In addition to exposing these services, I also plan to:
>
> * Publish wiredumps of the request and response envelopes
> that each implementation uses - ie, each implementations
> client
> * For those implementations that dynamically generate
> WSDL, I will publish the WSDL generated for each of these
> methods.
>
> I think this is a first step to REALLY filling out those issues
> lists for SOAP and WSDL interoperability. It's much easier to
> see the issues when all this info is right in front of you.
>
> My question here is :
>
> Does this set of types/methods make sense? Would you modify
> this list in any way?
>
> Thanks for any feedback!
>
> Tony
>
> ----------------------------------------
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> To unsubscribe from this group, send an email to:
> soapbuilders-unsubscribe@yahoogroups.com
>
>
>



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com








To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com




To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#10 From: "Tony Hong" <thong@...>
Date: Thu Feb 1, 2001 12:57 am
Subject: RE: Interoperability lab
thong@...
Send Email Send Email
 
Hi Sanjiva,
 
Thanks, I'm glad you find the idea useful!
 
The yahoo group is listed now - I accidently delisted it from their directory, but it's
visible again. Just search for "soapbuilders" at groups.yahoo.com and you should
see it pop up .
 
The testbed as I've described has an "echoStruct" and "echoStructArray" methods -
I've built this service already for Apache and SOAP::Lite - for Apache, the service uses
the Bean serializer to map to/from a simple object. See
 
and
 
Is this what you are thinking of?
 
As far as MS or 4s4c, I'm not sure of any other existing services that involve
complex types - Simon, do you know of any?
 
If you describe the kind of type/structure you'd like to see built as an "echo" , I can make sure its part
of the target test set and start the construction in a variety of implementations, including the ones
you mention.
 
Cheers,
Tony
 
 
-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@...]
Sent: Wednesday, January 31, 2001 9:42 AM
To: soapbuilders@yahoogroups.com
Subject: Re: [soapbuilders] Interoperability lab


Hi Tony,

I think this is a great idea! Thanks for starting the work!

Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that uses
complex types and is available on the net? I'm trying to test the apache
soap interoperabilty using complex types with non-Apache SOAP services and
I can't seem to find interesting services to try.

Also, what's the Yahoo group for this? I can't seem to find the group to
change my email address!

Bye,

Sanjiva.

Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM

Please respond to soapbuilders@yahoogroups.com

To:   Soapbuilders <soapbuilders@yahoogroups.com>
cc:
Subject:  Re: [soapbuilders] Interoperability lab



I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
    int x;
    LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                            Jacek Kopecky
                               Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

> Hi all
>
> I've mentioned to a couple of you that I'm going to create
> an interoperability testbed. I'd like to get some feedback
> from this group.
>
> For each if a number of different SOAP implemenation, I'm
> planning to host a service that exposes these methods
>
> String echoString(String inputString)
> String[] echoStringArrray(String[] inputStringArray)
> Integer echoInteger(Integer inputInteger)
> Integer[] echoIntegerArray(Integer[] inputIntegerArray)
> Float echoFloat(Float inputFloat)
> Float[] echoFloatArray(Float[] inputFloatArray)
> SOAPStruct echoStruct( SOAPStruct inputStruct)
> SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
>
> Where SOAPStruct is a simple structure with integer, float, and
> string fields.
>
> Other possibilities include:
> Hashmap / Associative array , using the encoding proposed by
> the Apache folks.
> XML Documents
>
> This "echo" service does nothing really useful except
> illustrate the ability of the service to accept a clients
> envelope, deserialize the types correctly, and then
> reserialize the respones into something that the client
> can see if it understands.
>
> I built this service for Apache 2.0 and SOAP::Lite a few
> months ago, and I think Paul Kulchenko will agree that
> it's been really useful for testing interop issues.
>
>
> In addition to exposing these services, I also plan to:
>
> * Publish wiredumps of the request and response envelopes
> that each implementation uses - ie, each implementations
> client
> * For those implementations that dynamically generate
> WSDL, I will publish the WSDL generated for each of these
> methods.
>
> I think this is a first step to REALLY filling out those issues
> lists for SOAP and WSDL interoperability. It's much easier to
> see the issues when all this info is right in front of you.
>
> My question here is :
>
> Does this set of types/methods make sense? Would you modify
> this list in any way?
>
> Thanks for any feedback!
>
> Tony
>
> ----------------------------------------
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> To unsubscribe from this group, send an email to:
> soapbuilders-unsubscribe@yahoogroups.com
>
>
>



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com








To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com



#9 From: "Sanjiva Weerawarana" <sanjiva@...>
Date: Wed Jan 31, 2001 5:41 pm
Subject: Re: Interoperability lab
sanjiva@...
Send Email Send Email
 
Hi Tony,

I think this is a great idea! Thanks for starting the work!

Do u know of a service implemented with MS SOAP, 4S4C, ... etc. that uses
complex types and is available on the net? I'm trying to test the apache
soap interoperabilty using complex types with non-Apache SOAP services and
I can't seem to find interesting services to try.

Also, what's the Yahoo group for this? I can't seem to find the group to
change my email address!

Bye,

Sanjiva.

Jacek Kopecky <jacek@...> on 01/31/2001 10:23:07 AM

Please respond to soapbuilders@yahoogroups.com

To:   Soapbuilders <soapbuilders@yahoogroups.com>
cc:
Subject:  Re: [soapbuilders] Interoperability lab



I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
     int x;
     LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                             Jacek Kopecky
                                Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

  > Hi all
  >
  > I've mentioned to a couple of you that I'm going to create
  > an interoperability testbed. I'd like to get some feedback
  > from this group.
  >
  > For each if a number of different SOAP implemenation, I'm
  > planning to host a service that exposes these methods
  >
  > String echoString(String inputString)
  > String[] echoStringArrray(String[] inputStringArray)
  > Integer echoInteger(Integer inputInteger)
  > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
  > Float echoFloat(Float inputFloat)
  > Float[] echoFloatArray(Float[] inputFloatArray)
  > SOAPStruct echoStruct( SOAPStruct inputStruct)
  > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
  >
  > Where SOAPStruct is a simple structure with integer, float, and
  > string fields.
  >
  > Other possibilities include:
  > Hashmap / Associative array , using the encoding proposed by
  > the Apache folks.
  > XML Documents
  >
  > This "echo" service does nothing really useful except
  > illustrate the ability of the service to accept a clients
  > envelope, deserialize the types correctly, and then
  > reserialize the respones into something that the client
  > can see if it understands.
  >
  > I built this service for Apache 2.0 and SOAP::Lite a few
  > months ago, and I think Paul Kulchenko will agree that
  > it's been really useful for testing interop issues.
  >
  >
  > In addition to exposing these services, I also plan to:
  >
  > * Publish wiredumps of the request and response envelopes
  > that each implementation uses - ie, each implementations
  > client
  > * For those implementations that dynamically generate
  > WSDL, I will publish the WSDL generated for each of these
  > methods.
  >
  > I think this is a first step to REALLY filling out those issues
  > lists for SOAP and WSDL interoperability. It's much easier to
  > see the issues when all this info is right in front of you.
  >
  > My question here is :
  >
  > Does this set of types/methods make sense? Would you modify
  > this list in any way?
  >
  > Thanks for any feedback!
  >
  > Tony
  >
  > ----------------------------------------
  > XMethods Web Services Listings
  > http://www.xmethods.net
  >
  >
  > To unsubscribe from this group, send an email to:
  > soapbuilders-unsubscribe@yahoogroups.com
  >
  >
  >



To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com

#8 From: Jacek Kopecky <jacek@...>
Date: Wed Jan 31, 2001 3:23 pm
Subject: Re: Interoperability lab
jacek@...
Send Email Send Email
 
I'd add a circular structure:

LinkedList echoLinkedList(LinkedList linkedList)

where the definition in Java would be

public class LinkedList {
     int x;
     LinkedList next;
}

which means nullable and referenced next part. Sending a circular list
through might also help. 8-)

                             Jacek Kopecky
                                Idoox



On Wed, 31 Jan 2001, Tony Hong wrote:

  > Hi all
  >
  > I've mentioned to a couple of you that I'm going to create
  > an interoperability testbed. I'd like to get some feedback
  > from this group.
  >
  > For each if a number of different SOAP implemenation, I'm
  > planning to host a service that exposes these methods
  >
  > String echoString(String inputString)
  > String[] echoStringArrray(String[] inputStringArray)
  > Integer echoInteger(Integer inputInteger)
  > Integer[] echoIntegerArray(Integer[] inputIntegerArray)
  > Float echoFloat(Float inputFloat)
  > Float[] echoFloatArray(Float[] inputFloatArray)
  > SOAPStruct echoStruct( SOAPStruct inputStruct)
  > SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)
  >
  > Where SOAPStruct is a simple structure with integer, float, and
  > string fields.
  >
  > Other possibilities include:
  > Hashmap / Associative array , using the encoding proposed by
  > the Apache folks.
  > XML Documents
  >
  > This "echo" service does nothing really useful except
  > illustrate the ability of the service to accept a clients
  > envelope, deserialize the types correctly, and then
  > reserialize the respones into something that the client
  > can see if it understands.
  >
  > I built this service for Apache 2.0 and SOAP::Lite a few
  > months ago, and I think Paul Kulchenko will agree that
  > it's been really useful for testing interop issues.
  >
  >
  > In addition to exposing these services, I also plan to:
  >
  > * Publish wiredumps of the request and response envelopes
  > that each implementation uses - ie, each implementations
  > client
  > * For those implementations that dynamically generate
  > WSDL, I will publish the WSDL generated for each of these
  > methods.
  >
  > I think this is a first step to REALLY filling out those issues
  > lists for SOAP and WSDL interoperability. It's much easier to
  > see the issues when all this info is right in front of you.
  >
  > My question here is :
  >
  > Does this set of types/methods make sense? Would you modify
  > this list in any way?
  >
  > Thanks for any feedback!
  >
  > Tony
  >
  > ----------------------------------------
  > XMethods Web Services Listings
  > http://www.xmethods.net
  >
  >
  > To unsubscribe from this group, send an email to:
  > soapbuilders-unsubscribe@yahoogroups.com
  >
  >
  >

#7 From: Jacek Kopecky <jacek@...>
Date: Wed Jan 31, 2001 3:19 pm
Subject: Re: WSDL and method names
jacek@...
Send Email Send Email
 
> > On a slightly different note, while i was working on the WSDL
  > > generator for 4s4c, i tried various WSDL toolkits, and in
  > > particular i
  > > tried doing some array / complex type inter-op, and i couldn't get
  > > of them to work cross-tool for arrays or complex types.
  > Right, there (at least in SOAP::Lite) is no support for arrays and
  > complex types. I don't want to implements it before I'll have clear
  > understanding how to map it to user input.

When we were implementing our WSDL parser for our stub-generating
tools, we decided to go with some subset of XML Scheme that seemed to
describe the complex types the best.

  > > I'd like to propose that we workup some well documented examples of
  > > what WSDL should look like, and try and resolve some of the
  > > outstanding issues that Tony Hong has already raised (which part of
  > > WSDL controls the method names / responses, one way vs empty
  > > response etc )
  > It would be great! Who will take the lead? Author? :))

  Attached is our demo WSDL description where we use both structures
and arrays. Comments welcome. 8-)

  This WSDL description is parsable with version 1.0 of IdooXoap and
describes a (very demo-ish) service at our server soap.idoox.net. I
can post example requests sent by stubs generated from this WSDL so
that you know how we interpret the WSDL description.

  I already know about one thing that we fixed after 1.0 that is
probably a problem with our understanding of WSDL, it's the body
element's namespace that isn't being put there in 1.0.

  I think this might be a good starting point for creating that
well-documented example WSDL.

  Enjoy! 8-)

                             Jacek Kopecky
                                Idoox
<?xml version="1.0"?>

<definitions targetNamespace="http://my.org/structures.wsdl"
           xmlns:tns=      "http://my.org/structures.wsdl"
           xmlns:my=       "http://my.org/structures.xsd"
           xmlns:xsd=      "http://www.w3.org/2000/10/XMLSchema"
           xmlns:soap=     "http://schemas.xmlsoap.org/wsdl/soap/"
           xmlns=          "http://schemas.xmlsoap.org/wsdl/">

     <!-- put -->
     <message name="put">
         <part name="x" type="xsd:int"/>
         <part name="y" type="xsd:int"/>
     </message>
     <message name="putResponse">
         <part name="return" type="my:SimpleStruct"/>
     </message>

     <!-- putTo -->
     <message name="putTo">
	 <part name="x" type="xsd:int"/>
	 <part name="y" type="xsd:int"/>
	 <part name="str" type="my:SimpleStruct"/>
     </message>
     <message name="putToResponse">
	 <part name="return" element="my:return"/>
	 <part name="str" type="my:SimpleStruct"/>
     </message>

     <!-- swap -->
     <message name="swap">
         <part name="str" type="my:SimpleStruct"/>
     </message>
     <message name="swapResponse">
	 <part name="return" element="my:return"/>
	 <part name="str" type="my:SimpleStruct"/>
     </message>

     <!-- makeCircle -->
     <message name="makeCircle">
	 <part name="list" element="my:list"/>
     </message>
     <message name="makeCircleResponse">
	 <part name="return" element="my:return"/>
	 <part name="list" element="my:list"/>
     </message>

     <!-- killCircle -->
     <message name="killCircle">
	 <part name="list" element="my:list"/>
     </message>
     <message name="killCircleResponse">
	 <part name="return" element="my:return"/>
	 <part name="list" element="my:list"/>
     </message>

     <!-- revert -->
     <message name="revert">
	 <part name="array" type="my:SimpleArray"/>
     </message>
     <message name="revertResponse">
	 <part name="return" element="my:return"/>
	 <part name="array" type="my:SimpleArray"/>
     </message>

     <!-- average -->
     <message name="average">
	 <part name="array" type="my:ArrayOfInt"/>
     </message>
     <message name="averageResponse">
	 <part name="return" type="xsd:float"/>
     </message>

     <portType name='StructuresPortType'>
         <operation name='put'>
	     <input name='put' message="tns:put"/>
	     <output message="tns:putResponse"/>
	 </operation>
         <operation name='putTo'>
	     <input name='putTo' message="tns:putTo"/>
	     <output message="tns:putToResponse"/>
	 </operation>
         <operation name='swap'>
	     <input name='swap' message="tns:swap"/>
	     <output message="tns:swapResponse"/>
	 </operation>
         <operation name='makeCircle'>
	     <input name='makeCircle' message="tns:makeCircle"/>
	     <output message="tns:makeCircleResponse"/>
	 </operation>
         <operation name='killCircle'>
	     <input name='killCircle' message="tns:killCircle"/>
	     <output message="tns:killCircleResponse"/>
	 </operation>
         <operation name='revert'>
	     <input name='revert' message="tns:revert"/>
	     <output message="tns:revertResponse"/>
	 </operation>
         <operation name='average'>
	     <input name='average' message="tns:average"/>
	     <output message="tns:averageResponse"/>
	 </operation>
     </portType>

     <binding name="StructuresSOAPBinding" type="tns:StructuresPortType">
         <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name='put'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='putTo'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='swap'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='makeCircle'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='killCircle'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='revert'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
         <operation name='average'>
	     <soap:operation soapAction=""/>
	     <input>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </input>
	     <output>
	         <soap:body namespace="http://my.org/structures.xsd"/>
             </output>
	 </operation>
     </binding>

     <service name="Demo">
         <port name="StructuresPort" binding="tns:StructuresSOAPBinding">
	     <soap:address
location="http://localhost:8080/soap/servlet/soap/structures"/>
	 </port>
     </service>


     <types>
	 <schema targetNamespace="http://my.org/structures.xsd"
		 xmlns="http://www.w3.org/2000/10/XMLSchema"
		 xmlns:my=       "http://my.org/structures.xsd">

	     <element name="return" type="xsd:boolean" nullable="true"/>

	     <element name="list" type="soap:reference" soap:reftype="my:SimpleList"
nullable="true"/>

	     <!-- SimpleStruct -->
	     <complexType name="SimpleStruct">
		 <sequence>
		     <element name="a" type="xsd:int"/>
		     <element name="b" type="xsd:int"/>
		 </sequence>
	     </complexType>
	     <!-- SimpleList -->
	     <complexType name="SimpleList">
		 <sequence>
		     <element name="next" type="soap:reference" soap:reftype="my:SimpleList"
nullable="true"/>
		     <element name="x" type="xsd:int"/>
		 </sequence>
	     </complexType>
	     <!-- SimpleArray -->
	     <complexType name="SimpleArray">
		 <sequence>
		     <element name="a" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
		     <element name="b" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
		     <element name="c" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
		     <element name="d" type="soap:reference" soap:reftype="my:SimpleStruct"
nullable="true"/>
		 </sequence>
	     </complexType>
	     <complexType name="ArrayOfInt" base="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
		 <all>
		     <element name="x" type="xsd:int"/>
		 </all>
	     </complexType>
	 </schema>
     </types>
</definitions>

#6 From: Paul Kulchenko <paulclinger@...>
Date: Wed Jan 31, 2001 2:29 pm
Subject: Re: WSDL and method names
paulclinger@...
Send Email Send Email
 
Hi, Simon!

--- Simon Fell <soap@...> wrote:
> couple of separate issues here
> 1. There is no reason why a soap request of <css/get>...</css/get>
> needs to be mapped directly to a language method of css/get,
> different
> languages have different rules on legal names, and they are going
> to have to escape them in a manner that works for that language.
True, but if other implementation expect to get css/get there is no
way for client to alter this name on wire.

> 2. I had no trouble generating and parsing a SOAP message using
> that
> format, but i just had a quick look through the XML spec and i'm
> not sure if it is a valid element name or not.
[40]    STag    ::=    '<' Name (S Attribute)* S? '>'
  [5]    Name    ::=    (Letter | '_' | ':') (NameChar)*
[84]    Letter    ::=    BaseChar | Ideographic
  [4]    NameChar    ::=    Letter | Digit | '.' | '-' | '_' | ':' |
CombiningChar | Extender
[85]    BaseChar    ::=    [#x0041-#x005A] | [#x0061-#x007A] | .....

So, as I understand there is no place for '/'.

Best wishes, Paul.


__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

#5 From: "graham glass" <graham-glass@...>
Date: Wed Jan 31, 2001 8:48 am
Subject: RE: Interoperability lab
graham-glass@...
Send Email Send Email
 
hi tony,

what about some methods that either take no arguments
or return no value (void)? those combinations would
be useful to test.

cheers,
graham

-----Original Message-----
From: Tony Hong [mailto:thong@...]
Sent: Wednesday, January 31, 2001 2:39 AM
To: Soapbuilders
Subject: [soapbuilders] Interoperability lab


Hi all

I've mentioned to a couple of you that I'm going to create
an interoperability testbed. I'd like to get some feedback
from this group.

For each if a number of different SOAP implemenation, I'm
planning to host a service that exposes these methods

String echoString(String inputString)
String[] echoStringArrray(String[] inputStringArray)
Integer echoInteger(Integer inputInteger)
Integer[] echoIntegerArray(Integer[] inputIntegerArray)
Float echoFloat(Float inputFloat)
Float[] echoFloatArray(Float[] inputFloatArray)
SOAPStruct echoStruct( SOAPStruct inputStruct)
SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)

Where SOAPStruct is a simple structure with integer, float, and
string fields.

Other possibilities include:
Hashmap / Associative array , using the encoding proposed by
the Apache folks.
XML Documents

This "echo" service does nothing really useful except
illustrate the ability of the service to accept a clients
envelope, deserialize the types correctly, and then
reserialize the respones into something that the client
can see if it understands.

I built this service for Apache 2.0 and SOAP::Lite a few
months ago, and I think Paul Kulchenko will agree that
it's been really useful for testing interop issues.


In addition to exposing these services, I also plan to:

* Publish wiredumps of the request and response envelopes
that each implementation uses - ie, each implementations
client
* For those implementations that dynamically generate
WSDL, I will publish the WSDL generated for each of these
methods.

I think this is a first step to REALLY filling out those issues
lists for SOAP and WSDL interoperability. It's much easier to
see the issues when all this info is right in front of you.

My question here is :

Does this set of types/methods make sense? Would you modify
this list in any way?

Thanks for any feedback!

Tony

----------------------------------------
XMethods Web Services Listings
http://www.xmethods.net


To unsubscribe from this group, send an email to:
soapbuilders-unsubscribe@yahoogroups.com

#4 From: "Tony Hong" <thong@...>
Date: Wed Jan 31, 2001 8:38 am
Subject: Interoperability lab
thong@...
Send Email Send Email
 
Hi all

I've mentioned to a couple of you that I'm going to create
an interoperability testbed. I'd like to get some feedback
from this group.

For each if a number of different SOAP implemenation, I'm
planning to host a service that exposes these methods

String echoString(String inputString)
String[] echoStringArrray(String[] inputStringArray)
Integer echoInteger(Integer inputInteger)
Integer[] echoIntegerArray(Integer[] inputIntegerArray)
Float echoFloat(Float inputFloat)
Float[] echoFloatArray(Float[] inputFloatArray)
SOAPStruct echoStruct( SOAPStruct inputStruct)
SOAPStruct[] echoStructArray (SOAPStruct[] inputStructArray)

Where SOAPStruct is a simple structure with integer, float, and
string fields.

Other possibilities include:
Hashmap / Associative array , using the encoding proposed by
the Apache folks.
XML Documents

This "echo" service does nothing really useful except
illustrate the ability of the service to accept a clients
envelope, deserialize the types correctly, and then
reserialize the respones into something that the client
can see if it understands.

I built this service for Apache 2.0 and SOAP::Lite a few
months ago, and I think Paul Kulchenko will agree that
it's been really useful for testing interop issues.


In addition to exposing these services, I also plan to:

* Publish wiredumps of the request and response envelopes
that each implementation uses - ie, each implementations
client
* For those implementations that dynamically generate
WSDL, I will publish the WSDL generated for each of these
methods.

I think this is a first step to REALLY filling out those issues
lists for SOAP and WSDL interoperability. It's much easier to
see the issues when all this info is right in front of you.

My question here is :

Does this set of types/methods make sense? Would you modify
this list in any way?

Thanks for any feedback!

Tony

----------------------------------------
XMethods Web Services Listings
http://www.xmethods.net

#3 From: Simon Fell <soap@...>
Date: Wed Jan 31, 2001 6:22 am
Subject: Re: WSDL and method names
soap@...
Send Email Send Email
 
On Tue, 30 Jan 2001 21:35:04 -0800 (PST), in soap you wrote:

>Hi, Simon!
>
>--- Simon Fell <soap@...> wrote:
>> Most of us have been talking about WSDL issues on and off for a
>> while,
>> so i doubt this comes as a surprise to anyone, but i was looking at
>> writing a WSDL description for manila following Dave Winer's call
>> for
>> help on scripting.com. I had no trouble putting a basic WSDL file
>> together but i ran the results through both SOAP::Lite and IdooXoap
>> both choked with the same problem (and i'm guessing the other WSDL
>> toolkits would too) as the method names for manila have /'s in
>> them, e.g. css/get, css/checkIn
>True, but as I understand it's not a toolkit problem, because I could
>fix the name (for example change non-allowed symbols to '_'), but
>it'll have no use, since server won't understand modified name
>anyway. I don't know how they can choose method elements with '/' if
>it couldn't be properly encoded according to SOAP spec. Or I'm
>missing something?

couple of separate issues here
1. There is no reason why a soap request of <css/get>...</css/get>
needs to be mapped directly to a language method of css/get, different
languages have different rules on legal names, and they are going to
have to escape them in a manner that works for that language.
2. I had no trouble generating and parsing a SOAP message using that
format, but i just had a quick look through the XML spec and i'm not
sure if it is a valid element name or not.

>> On a slightly different note, while i was working on the WSDL
>> generator for 4s4c, i tried various WSDL toolkits, and in
>> particular i
>> tried doing some array / complex type inter-op, and i couldn't get
>> of them to work cross-tool for arrays or complex types.
>Right, there (at least in SOAP::Lite) is no support for arrays and
>complex types. I don't want to implements it before I'll have clear
>understanding how to map it to user input.

me and you both, i don't really want to start work on a WSDL client
until its better defined.

>> I'd like to propose that we workup some well documented examples of
>> what WSDL should look like, and try and resolve some of the
>> outstanding issues that Tony Hong has already raised (which part of
>> WSDL controls the method names / responses, one way vs empty
>> response etc )
>It would be great! Who will take the lead? Author? :))

I'm more that happy to try and drive this forward, however i'd be
interested in hearing Sanjiva's opinion of issues first (as one of the
WSDL authors).

Cheers
Simon

#2 From: Paul Kulchenko <paulclinger@...>
Date: Wed Jan 31, 2001 5:35 am
Subject: Re: WSDL and method names
paulclinger@...
Send Email Send Email
 
Hi, Simon!

--- Simon Fell <soap@...> wrote:
> Most of us have been talking about WSDL issues on and off for a
> while,
> so i doubt this comes as a surprise to anyone, but i was looking at
> writing a WSDL description for manila following Dave Winer's call
> for
> help on scripting.com. I had no trouble putting a basic WSDL file
> together but i ran the results through both SOAP::Lite and IdooXoap
> both choked with the same problem (and i'm guessing the other WSDL
> toolkits would too) as the method names for manila have /'s in
> them, e.g. css/get, css/checkIn
True, but as I understand it's not a toolkit problem, because I could
fix the name (for example change non-allowed symbols to '_'), but
it'll have no use, since server won't understand modified name
anyway. I don't know how they can choose method elements with '/' if
it couldn't be properly encoded according to SOAP spec. Or I'm
missing something?

> On a slightly different note, while i was working on the WSDL
> generator for 4s4c, i tried various WSDL toolkits, and in
> particular i
> tried doing some array / complex type inter-op, and i couldn't get
> of them to work cross-tool for arrays or complex types.
Right, there (at least in SOAP::Lite) is no support for arrays and
complex types. I don't want to implements it before I'll have clear
understanding how to map it to user input.

> I'd like to propose that we workup some well documented examples of
> what WSDL should look like, and try and resolve some of the
> outstanding issues that Tony Hong has already raised (which part of
> WSDL controls the method names / responses, one way vs empty
> response etc )
It would be great! Who will take the lead? Author? :))

Best wishes, Paul.

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

#1 From: Simon Fell <soap@...>
Date: Wed Jan 31, 2001 4:49 am
Subject: WSDL and method names
soap@...
Send Email Send Email
 
Hi all,

Most of us have been talking about WSDL issues on and off for a while,
so i doubt this comes as a surprise to anyone, but i was looking at
writing a WSDL description for manila following Dave Winer's call for
help on scripting.com. I had no trouble putting a basic WSDL file
together but i ran the results through both SOAP::Lite and IdooXoap
both choked with the same problem (and i'm guessing the other WSDL
toolkits would too) as the method names for manila have /'s in them,
e.g. css/get, css/checkIn

On a slightly different note, while i was working on the WSDL
generator for 4s4c, i tried various WSDL toolkits, and in particular i
tried doing some array / complex type inter-op, and i couldn't get of
them to work cross-tool for arrays or complex types.

I'd like to propose that we workup some well documented examples of
what WSDL should look like, and try and resolve some of the
outstanding issues that Tony Hong has already raised (which part of
WSDL controls the method names / responses, one way vs empty response
etc )

Cheers
Simon
www.pocketsoap.com

Messages 1 - 30 of 10820   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help