I know this could be very simple, but what file would be the WSDL file. The way I have is a C# web service (i.e a asmx.cs file). I am using JAXP to talk to the SOAP server. So what would you want me to post?

 Scott Nichol <[EMAIL PROTECTED]> wrote:

Honestly, the WSDL is what I would need. I don't have time to create a
.NET service based on your code and look at the WSDL myself.

Scott Nichol

----- Original Message -----
From: "Siddhartha Mehta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 7:43 PM
Subject: Re: Using DateTime object


>
> Here is my C# webservice:
>
>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://stora
gepoint.net/soap/UploadStart",
RequestNamespace="http://storagepoint.net/soap/",
ResponseNamespace="http://storagepoint.net/soap/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)
]
>
> public bool UploadStart(string SessionKey, long FolderId, string
FileName, System.SByte bUseCompression, long UncompressedSize,
System.DateTime Created, System.DateTime Modified, System.DateTime
Accessed, ref string StreamToken) {
>
> object[] results = this.Invoke("UploadStart", new object[] {
>
> SessionKey,
>
> FolderId,
>
> FileName,
>
> bUseCompression,
>
> UncompressedSize,
>
> Created,
>
> Modified,
>
> Accessed,
>
> StreamToken});
>
> StreamToken = ((string)(results[1]));
>
> return ((bool)(results[0]));
>
> }
>
>
> And the SOAP message that is sent is:
>
>
>
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">der/>
>
> xmlns:A="http://www.w3.org/2001/XMLSchema-instance"
xmlns:B="http://www.w3.org/2001/XMLSchema-instance"
xmlns:C="http://www.w3.org/2001/XMLSchema-instance">
>
> 5617F6B2-AEAB-45CF-80C2-ED0379109DD9
>
> 8
>
> run.cmd
>
> 0
>
> 695
>
> 12/17/2002 4:39:40 PM
>
> 12/17/2002 4:39:40 PM
>
> 12/17/2002 4:39:40 PM
>
>
>
>

>
>

>
>

>
>
>
> And the error I get is:
>
>
>
>
>
> soap:Client
> Server was unable to read request. --> There is
an error i
> n XML document (2, 565). --> String was not recognized as a valid
DateTime.> faultstring>
>
>

>

>

>
> The strange thing here is, the error message says that the error is at
column 565 which is surprisingly time. Does this mean that
the time is in correct format?
>
> Thanks!!
>
> Scott Nichol <[EMAIL PROTECTED]>wrote:Can you post the
WSDL for the C# web service?
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Siddhartha Mehta"
> To:
> Sent: Tuesday, December 17, 2002 6:55 PM
> Subject: Using DateTime object
>
>
> >
> > I am using C# webservice and a Java client. One of the functions in
my
> webservice expects a DateTime (C# object). How would I send a datetime
> object from my Java client code? Can anyone help me.
> >
> > Thanks,
> >
> > Siddhartha
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now
>
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now


--
To unsubscribe, e-mail:
For additional commands, e-mail:



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to