Web services woe... Please HELP!

I have created java agents in Notes to consume web services from an outside source (not Domino). It seem to work fine except for the fact that the soap response I am getting seem to be truncated.

I know the web service works because we tested this using .Net and it returns the response in full. :frowning:

Unfortunately, I need for it to work in Java as the final consuming client is Notes/Domino.

I am saying it’s truncated because:

  1. When I am trying to parse the response using this line (see below), it would give me a “Premature end of file” error.

    NodeList nl = xdoc.getElementsByTagName(“GetByLastNameResult”);

  2. I am looking at the server console and the soap response does not have the end to .

I am wondering if there is a setting in Domino or in my soap request that would prevent the response to come back complete? basically the return set is not finishing…

This is the soap request I am sending:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://www.w3.org/2003/05/soap-envelope”>

soap:Header

string

</soap:Header>

soap:Body

LastName

</soap:Body>

</soap:Envelope>

This is the soap response I am getting… as you can see from below, there is no closing tag for , which pretty much renders this xml malformed:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap=“http://www.w3.org/2003/05/soap-envelope” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>soap:Body

0123

1

LastName

FirstName

Other

1999-03-30T00:00:00-04:00

Subject: Web services woe… Please HELP!

The response probably contains an invalid character which breaks the string. This can happen if you missed some parameter in the request.Use Apache SOAP TCP Tunnel to monitor outgoing and incoming traffic.