By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,870 Members | 1,236 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,870 IT Pros & Developers. It's quick & easy.

Consume java web service (incomplete XML)

P: n/a
Hello, i try to consume a java web service from a asp .net page, i make
without problems the web reference tu wsdl file
http://machine/WebService/nameWebService?WSDL

in the asp .net page put the code

Dim WSConection As New WebService.nameWebService
Dim XML_= WSConection .getCcompleteSis(TextBox1.Text) 'this return a string
with a XML

when I debug de application I can look that XML_ variable is a XML
incomplete, only the half of the XML file.

I also try this
Dim documento As New System.Xml.XmlDocument
documento.LoadXml(WSConection .getCcompleteSis(TextBox1.Text))

and I try generate a class from the webservice with the wsdl tool and call
the webservice trough the class

prompt
D:\Documents and Settings\User>wsdl /language:vb /namespace:JavaService
http://machine/WebService/nameWebService?WSDL

page
Dim a As New JavaService.nameWebService
Dim b = a.getCcompleteSis(TextBox1.Text)

And ALWAYS result in a XML file incomplete (exactly the same result).

anyone know how fix this ???

THANKS
Nov 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
the webmethod return a string with a XML inside, and the this string is
incomplete.

example

string="<one><a>aaaa</a> <H>hhhh<H/><y>yyy"

the information is incomplete

"Mauricio Correa" <la*******@yahoo.es> escribió en el mensaje
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello, i try to consume a java web service from a asp .net page, i make
without problems the web reference tu wsdl file
http://machine/WebService/nameWebService?WSDL

in the asp .net page put the code

Dim WSConection As New WebService.nameWebService
Dim XML_= WSConection .getCcompleteSis(TextBox1.Text) 'this return a string with a XML

when I debug de application I can look that XML_ variable is a XML
incomplete, only the half of the XML file.

I also try this
Dim documento As New System.Xml.XmlDocument
documento.LoadXml(WSConection .getCcompleteSis(TextBox1.Text))

and I try generate a class from the webservice with the wsdl tool and call
the webservice trough the class

prompt
D:\Documents and Settings\User>wsdl /language:vb /namespace:JavaService
http://machine/WebService/nameWebService?WSDL

page
Dim a As New JavaService.nameWebService
Dim b = a.getCcompleteSis(TextBox1.Text)

And ALWAYS result in a XML file incomplete (exactly the same result).

anyone know how fix this ???

THANKS

Nov 23 '05 #2

P: n/a
have you tried a tool like proxytrace to examine what is being sent on the
wire?

"Mauricio Correa" <la*******@yahoo.es> wrote in message
news:Oo*************@TK2MSFTNGP12.phx.gbl...
the webmethod return a string with a XML inside, and the this string is
incomplete.

example

string="<one><a>aaaa</a> <H>hhhh<H/><y>yyy"

the information is incomplete

"Mauricio Correa" <la*******@yahoo.es> escribió en el mensaje
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello, i try to consume a java web service from a asp .net page, i make
without problems the web reference tu wsdl file
http://machine/WebService/nameWebService?WSDL

in the asp .net page put the code

Dim WSConection As New WebService.nameWebService
Dim XML_= WSConection .getCcompleteSis(TextBox1.Text) 'this return a

string
with a XML

when I debug de application I can look that XML_ variable is a XML
incomplete, only the half of the XML file.

I also try this
Dim documento As New System.Xml.XmlDocument
documento.LoadXml(WSConection .getCcompleteSis(TextBox1.Text))

and I try generate a class from the webservice with the wsdl tool and
call
the webservice trough the class

prompt
D:\Documents and Settings\User>wsdl /language:vb /namespace:JavaService
http://machine/WebService/nameWebService?WSDL

page
Dim a As New JavaService.nameWebService
Dim b = a.getCcompleteSis(TextBox1.Text)

And ALWAYS result in a XML file incomplete (exactly the same result).

anyone know how fix this ???

THANKS


Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.