Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Consume java web service (incomplete XML)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mauricio Correa - 15 Feb 2005 05:18 GMT
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
Mauricio Correa - 15 Feb 2005 19:47 GMT
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

> Hello, i try to consume a java web service from a asp .net page, i make
> without problems the web reference tu wsdl file
[quoted text clipped - 29 lines]
>
> THANKS
Dino Chiesa [Microsoft] - 22 Feb 2005 22:20 GMT
have you tried a tool like proxytrace to examine what is being sent on the
wire?

> the webmethod return a string with a XML inside, and the this string is
> incomplete.
[quoted text clipped - 40 lines]
>>
>> THANKS

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.