473,322 Members | 1,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Consume java web service (incomplete XML)

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
2 2797
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected...
4
by: John Bailo | last post by:
I wrote a .NET/c# webservice which I then needed to consume from java server pages. The simplest ( and best ) solution I found, was some code to open a socket, and send a SOAP message directly...
4
by: geilen | last post by:
I'm trying to use a dataset returned from a web service in an unmanaged C++ (MFC) client. The dataset is returned as a BSTR, and I'm having trouble reading the BSTR into an XML document for...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
0
by: saturn | last post by:
Hi, I am using C# to build a web form and need to pass these form data to Java-base Web Service. I have encountered the following problem: 1. How can I create a customer Soap Headers and...
0
by: Jerry Orenstein | last post by:
Hi, I hope someone can help or point me in the right direction. I'm using VB.NET 2003. I have written a web client (exe) which sends XML/string data to another company's web service, written...
2
by: adevikreates | last post by:
Greetings All! I have a Java Web service that I wrote. I need to use Classic ASP as the client for this web service. I have the following code in an asp page but I keep getting an error that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.