Kai,
Glad to of help.
Kai Donker wrote:
> Hi Mike,
>
> thaks for telling me how to use the TcpTunnelGui. There have been some major
> Problems which I never would have been able to solve without the
> TcpTunnelGui. Now my Service works like I wanted it from the beginning.
>
> Kind regards, Kai
>
>
> -----Urspr�ngliche Nachricht-----
> Von: Mike Williams [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 9. Juni 2001 11:49
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: is Bytes.class for bytes[]
>
>
> Kai,
>
> The first port is the port that TcpTunnelGui listens on. You then
> change your clients to call this port instead of the normal one.
>
> In your case you might want to try 81 set the server port to 80.
> TcpTunnelGui will then intercept calls on 81 then send them on to 80.
>
> Mike
>
> Kai Donker wrote:
>
>
>> Hi Matt,
>>
>> OK, here we go wilth the missing code and the error messages. But I do not
>> understand how to use the TcpTunnelGui. I have a Tomcat running and
>> listening on port 80. So I know the the last two parameters. But I do not
>> know what's the listenportnumber an localhoast. When client and server are
>> on the the machine port 80 cant't be used.
>>
>> Client code:
>> call.setEncodingStyleURI(encodingStyleURI);
>>
>>
>> Client error message:
>> Generated fault:
>> Fault Code = SOAP-ENV:Server
>> Fault String = java.lang.NoSuchMethodError
>>
>>
>> Server error message:
>> nothing can be seen
>>
>> Thanks, Kai
>>
>>
>>
>> -----Urspr�ngliche Nachricht-----
>> Von: Matthew J. Duftler [mailto:[EMAIL PROTECTED]]
>> Gesendet: Freitag, 8. Juni 2001 16:07
>> An: [EMAIL PROTECTED]
>> Betreff: RE: is Bytes.class for bytes[]
>>
>>
>> Hi Kai,
>>
>> Please show the part of your client code you replaced with "...", so we
>
> can
>
>> see what encodingStyle is being used. Also, please use the TcpTunnelGui
>
> tool
>
>> as described in the docs, and show what is being sent/received. And
>
> lastly,
>
>> please show the entire error message on the client (and the server, if
>
> there
>
>> is one). It's pretty difficult to help with such little information.
>>
>> Thanks,
>> -Matt
>>
>>
>>
>>> -----Original Message-----
>>> From: Kai Donker [mailto:[EMAIL PROTECTED]]
>>> Sent: Friday, June 08, 2001 4:00 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: AW: is Bytes.class for bytes[]
>>>
>>>
>>> With byte[].class it worked. But now I get a NoSuchMethodError.
>>> The method I
>>> try to call looks like this:
>>> public static byte[] transformToPDF(byte[] xmlFile, byte[] xslFile)
>>>
>>> This is the client code:
>>> Vector params = new Vector();
>>> ...
>>> call.setMethodName("transformToPDF");
>>> params.addElement(new Parameter("xmlFile", byte[].class, xml, null));
>>> params.addElement(new Parameter("xslFile", byte[].class, xml, null));
>>> call.setParams(params);
>>>
>>> Why can't the method be called?
>>>
>>> Thanks, Kai
>>>
>>>
>>>
>>>
>>> -----Urspr�ngliche Nachricht-----
>>> Von: Matthew J. Duftler [mailto:[EMAIL PROTECTED]]
>>> Gesendet: Donnerstag, 7. Juni 2001 23:59
>>> An: [EMAIL PROTECTED]
>>> Betreff: RE: is Bytes.class for bytes[]
>>>
>>>
>>> Hi Kai,
>>>
>>> If the type of the object you are trying to pass is byte[], then
>>> you should
>>> use byte[].class.
>>>
>>> Thanks,
>>> -Matt
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Kai Donker [mailto:[EMAIL PROTECTED]]
>>>> Sent: Thursday, June 07, 2001 5:55 PM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: is Bytes.class for bytes[]
>>>>
>>>>
>>>> Hi there,
>>>>
>>>> I 've set up a WebService with a static method. Parameters are
>>>
>>> bytearrays,
>>>
>>>
>>>> returntype is also a bytearray.
>>>>
>>>> When invoking I get the following error:
>>>>
>>>> Generated fault:
>>>> Fault Code = SOAP-ENV:Client
>>>> Fault String = [B@7b56b1
>>>>
>>>> May the cause for this be, that the Parameter-objects are not corectly
>>>> defined? I did it like this:
>>>> params.addElement(new Parameter("file", Byte.class, file, null));
>>>>
>>>> Thanks, Kai
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, email: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, email: [EMAIL PROTECTED]
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, email: [EMAIL PROTECTED]
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>
>
>
> --
>
>
> ----------------------------
> Mike Williams
> [EMAIL PROTECTED]
> http://www.mikesbox.com
> ----------------------------
> May the Source be with you!
> ----------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
----------------------------
Mike Williams
[EMAIL PROTECTED]
http://www.mikesbox.com
----------------------------
May the Source be with you!
----------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]