cvs commit: xml-soap/java/samples/interop EchoTestClient.java

2002-01-30 Thread rubys

rubys   02/01/30 09:27:24

  Modified:java/samples/interop EchoTestClient.java
  Log:
  The ArrayOfSOAPStruct type is defined in the wsdl file
  http://www.whitemesa.com/interop/InteropTest.wsdl
  
  Submitted by: Edoardo Comar <[EMAIL PROTECTED]>
  
  Revision  ChangesPath
  1.16  +3 -0  xml-soap/java/samples/interop/EchoTestClient.java
  
  Index: EchoTestClient.java
  ===
  RCS file: /home/cvs/xml-soap/java/samples/interop/EchoTestClient.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- EchoTestClient.java   9 Dec 2001 23:19:36 -   1.15
  +++ EchoTestClient.java   30 Jan 2002 17:27:24 -  1.16
  @@ -190,6 +190,9 @@
 new Data(2, "duet", (float)2.22),
 new Data(1, "un", (float)1.1)}, null);
   smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName("", "return"), null, null, 
arraySer);
  +smr.mapTypes(Constants.NS_URI_SOAP_ENC,
  +new QName(OBJECT_URI, "ArrayOfSOAPStruct"),
  +Data[].class, arraySer, arraySer);
   doCall(url, "echoStructArray", p);   
   
   doCall(url, "echoVoid", null);   
  
  
  



Re: apache/axis interop client and capeconnect : ArrayOfSOAPStruct

2002-01-30 Thread Sam Ruby

I've applied the fix to Apache SOAP 2.x, you should see the results in the
next run.  We are looking into a similar fix for Axis.

Thanks!

- Sam Ruby


"Edoardo Comar" <[EMAIL PROTECTED]> on 01/30/2002 12:21:31 PM

To:<[EMAIL PROTECTED]>
cc:Sam Ruby/Raleigh/IBM@IBMUS
Subject:apache/axis interop client and capeconnect : ArrayOfSOAPStruct



Hi

Looking at http://www.apache.org/~rubys/ApacheClientInterop.html#6-soap

I noticed the fault when invoking echoStructArray on
interop.capeclear.com.

Capeconnect sends back :

...
xmlns:cc1="http://soapinterop.org/xsd";
...

...


The ArrayOfSOAPStruct type is defined in the wsdl file
http://www.whitemesa.com/interop/InteropTest.wsdl

If I just make it known to the apache client by adding the mapping for
arraySer to ArrayOfSOAPStruct :

smr.mapTypes(Constants.NS_URI_SOAP_ENC,
 new QName(OBJECT_URI, "ArrayOfSOAPStruct"),
 Data[].class, arraySer, arraySer);

Then the response is happily accepted by the client (and we get complete
interoperability).

Let me know if the client can be updated.

Regards,
Edo

---
Edoardo Comar
Cape Clear Software
[EMAIL PROTECTED]  http://www.capeclear.com

*** Download the NEW CapeConnect Three ***
***  ***






encoding problem

2002-01-30 Thread Elaine Chien



I am writing a method that takes a string array but returns an element.

Element foo(String[] arg) {}

To invoke this method I have set call object's encoding to be
NS_URI_LITERAL_XML and have set parameter's encoding style to be
NS_URI_SOAP_ENC. Now this failed to work. It looks like when serializing
String[], though it understand to use NS_URI_SOAP_ENC for array , when
it tries to serialize String it is using the default encoding which is
NS_URI_LITERAL_XML.

Any suggestion as to what can be done to work around this problem?

Thanks,
Elaine




SOAPHTTPConnection patch

2002-01-30 Thread Elaine Chien


A patch for the set-cookie bug in SOAPHTTPConnection was submitted by
Warwick Slade on 7/29/01. Any update on when it will be integrated into
the source?

Thanks,
Elaine




Size limits on SOAP messages

2002-01-30 Thread Jerry Birchler



Hello,
 
I have encountered a 
size limitation of 1.4 megs in my payloads. I am using the Microsoft Soap 
Toolkit version 2 low API's to send a payload to an Apache Soap 2.2 
implementation on Solaris 8 running iPlanet Application Server 6.0 SP3. I go 
around some file limitations mentioned at this site by encoding my data in 
base64 and treating it like a string on the server. I am convinced that it is 
best to simply exploit this technique and write an architecture around 
compressing and  breaking large payloads into packets and managing those 
packets on both client and server. 
 
In considering this 
architecture I am thinking of concepts already applied on the News Servers and 
News Readers. A mature publisher/subscriber model with peer to 
peer replication has a strong appeal. If only there was a way to administrate 
user privileges and hide channels then we'd really have something interesting. 
Has anyone implemented SOAP on top of NNTP and integrated that type of 
service with a web server?  

___ Jerry 
Birchler Meritage 
Technologies, Inc. 14755 Preston Road, 
Suite 300 Dallas, TX  75245 972.850.0590 - Office 214.762.4283 - 
Mobile 972.850.0595 - Fax www.meritagetech.com 

Meritage Technologies -- Ranked #15 on the 2000 Inc. 500 list of 
fastest-growing, privately held companies in the U.S.
 


deployment error on sample

2002-01-30 Thread Dan Silpakit

Hi,

I'm running tomcat4.0, soap-2_2.  I checked my deployment list the
urn:AddressFetcher
showed it deployed.  When I ran a client I got 

Fault Code   = SOAP-ENV:Client
Fault String = Deployment error in SOAP service 'urn:AddressFetcher': class
name 'samples.addressbook.Address' could not be resolved:
samples.addressbook.Address

What went wrong?  Please help..


Thank you

Dan Silpakit