You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Glen Dobson <g....@lancs.ac.uk> on 2005/07/19 00:19:59 UTC

Return of JAXR Problem 3

Content-apache.org
Received: (qmail 97827 invoked by uid 99); 18 Jul 2005 22:15:12 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2005 15:15:12 -0700
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=
X-Spam-Check-By: apache.org
Received-SPF: neutral (asf.osuosl.org: local policy)
Received: from [212.159.14.133] (HELO pih-relay06.plus.net) (212.159.14.133)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2005 15:15:07 -0700
Received: from [212.159.16.118] (helo=[192.168.0.3])
	 by pih-relay06.plus.net with esmtp (Exim) id 1DudtE-0005eb-Uq
	for juddi-user@ws.apache.org; Mon, 18 Jul 2005 23:15:09 +0100
Subject: JAXR and authToken
From: Glen Dobson <g....@lancs.ac.uk>
To: juddi-user@ws.apache.org
Content-Type: text/plain
Organization: Lancaster Univeristy
Message-Id: <11...@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 18 Jul 2005 23:20:00 +0100
Content-TransfTransfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Hi,

On Wed, 9 Mar 2005 14:42:32 -0600 Ming-Fang Wang wrote the following
(Subject: JaxrProblem 3)

"I finally figured out what is the problem when running my program using
Jaxr from Sun Micro to access JUDDI, built on 03/08/2005. The issue is
white spaces. It seems that the Sun Micro Jaxr implementation is very
strict. Even extra white spaces can cause the unmarshal exception."

Was any resolution reached on this?


I am having the same problem with JUDDI 0.9rc4. However, it may in fact be a slightly different problem. My authtoken response (ignoring the HTTP header) looks like:

1ad
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2">
 er-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Hi,

On Wed, 9 Mar 2005 14:42:32 -0600 Ming-Fang Wang wrote the following
(Subject: JaxrProblem 3)

"I finally figured out what is the problem when running my program using
Jaxr from Sun Micro to access JUDDI, built on 03/08/2005. The issue is
white spaces. It seems that the Sun Micro Jaxr implementation is very
strict. Even extra white spaces can cause the unmarshal exception."

Was any resolution reached on this?


I am having the same problem with JUDDI 0.9rc4. However, it may in fact be a slightly different problem. My authtoken response (ignoring the HTTP header) looks like:

1ad
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2">
   <aut  <authInfo>authToken:2290FD60-F7BC-11D9-B36D-FC099A047F64</authInfo>
  </authToken>
 </soapenv:Body>
</soapenv:Envelope>
0

The 1ad and 0 around the XML response seem spurious to me (and they
consistently appear in every reponse) . Are these giving the JAXR
unmarshaller a problem? Are they supposed to be there?


Glen.


hInfo>authToken:2290FD60-F7BC-11D9-B36D-FC099A047F64</authInfo>
  </authToken>
 </soapenv:Body>
</soapenv:Envelope>
0

The 1ad and 0 around the XML response seem spurious to me (and they
consistently appear in every reponse) . Are these giving the JAXR
unmarshaller a problem? Are they supposed to be there?


Glen.