You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Lev Gelfer <le...@db.com> on 2001/05/04 20:40:47 UTC

SOAP Issue



Hi Everyone

     ( Apache-SOAP server/VB client). I have a very strange problem which I can't resolve on my own.  I created the XML message and send it back as a String. the problem I experience is that the entire string gets converted into an HTML formatted String.


  &lt;Organization ORG_ID=&quot;5435&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;1502&quot;&gt;
        &lt;Name&gt;Hong Kong&lt;/Name&gt;
        &lt;Country_Id&gt;45&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13799&quot;&gt;
           &lt;Name&gt;Gate Gourmet HK Ltd&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14069&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;HK$ 250.000 TERM LOAN  5 Years&lt;/TargetPrice
gt;
              &lt;AssetSize&gt;45m&lt;/AssetSize&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
  &lt;Organization ORG_ID=&quot;7585&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;426&quot;&gt;
        &lt;Name&gt;Not Defined&lt;/Name&gt;
        &lt;Country_Id&gt;1&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13866&quot;&gt;
           &lt;Name&gt;Holland Car Leasing&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14229&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;SEE CURRENT COM&lt;/TargetPrice&gt;
              &lt;AssetSize/&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
lt;/creditortree&gt;</return>

I'm sure there is a problem either with my configuration or with a request. I suspect that since I'm behind the firewall I can't access the encoding files.
Does anybody know whether I can copy them locally and if yes where can I get all the necessary files.

Lev Gelfer.










--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: SOAP Issue

Posted by Gus Delgado <gu...@netquotient.com>.
It looks like you want to send an XML inside the SOAP-ENV.

Use the DocumentFragment object on your VB client so that you can embed your
xml inside the SOAP-ENV xml.

your client should use the "http://xml.apache.org/xml-soap/literalxml"
encoding style.

Gus

-----Original Message-----
From: Lev Gelfer [mailto:lev.gelfer@db.com]
Sent: Friday, May 04, 2001 1:41 PM
To: soap-user@xml.apache.org
Subject: SOAP Issue





Hi Everyone

     ( Apache-SOAP server/VB client). I have a very strange problem which I
can't resolve on my own.  I created the XML message and send it back as a
String. the problem I experience is that the entire string gets converted
into an HTML formatted String.


  &lt;Organization ORG_ID=&quot;5435&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;1502&quot;&gt;
        &lt;Name&gt;Hong Kong&lt;/Name&gt;
        &lt;Country_Id&gt;45&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13799&quot;&gt;
           &lt;Name&gt;Gate Gourmet HK Ltd&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14069&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;HK$ 250.000 TERM LOAN  5
Years&lt;/TargetPrice
gt;
              &lt;AssetSize&gt;45m&lt;/AssetSize&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
  &lt;Organization ORG_ID=&quot;7585&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;426&quot;&gt;
        &lt;Name&gt;Not Defined&lt;/Name&gt;
        &lt;Country_Id&gt;1&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13866&quot;&gt;
           &lt;Name&gt;Holland Car Leasing&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14229&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;SEE CURRENT COM&lt;/TargetPrice&gt;
              &lt;AssetSize/&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
lt;/creditortree&gt;</return>

I'm sure there is a problem either with my configuration or with a request.
I suspect that since I'm behind the firewall I can't access the encoding
files.
Does anybody know whether I can copy them locally and if yes where can I get
all the necessary files.

Lev Gelfer.










--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: SOAP Issue

Posted by Gus Delgado <gu...@netquotient.com>.
It looks like you want to send an XML inside the SOAP-ENV.

Use the DocumentFragment object on your VB client so that you can embed your
xml inside the SOAP-ENV xml.

your client should use the "http://xml.apache.org/xml-soap/literalxml"
encoding style.

Gus

-----Original Message-----
From: Lev Gelfer [mailto:lev.gelfer@db.com]
Sent: Friday, May 04, 2001 1:41 PM
To: soap-user@xml.apache.org
Subject: SOAP Issue





Hi Everyone

     ( Apache-SOAP server/VB client). I have a very strange problem which I
can't resolve on my own.  I created the XML message and send it back as a
String. the problem I experience is that the entire string gets converted
into an HTML formatted String.


  &lt;Organization ORG_ID=&quot;5435&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;1502&quot;&gt;
        &lt;Name&gt;Hong Kong&lt;/Name&gt;
        &lt;Country_Id&gt;45&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13799&quot;&gt;
           &lt;Name&gt;Gate Gourmet HK Ltd&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14069&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;HK$ 250.000 TERM LOAN  5
Years&lt;/TargetPrice
gt;
              &lt;AssetSize&gt;45m&lt;/AssetSize&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
  &lt;Organization ORG_ID=&quot;7585&quot;&gt;
     &lt;Name&gt;BNP&lt;/Name&gt;
     &lt;Branch Branch_ID=&quot;426&quot;&gt;
        &lt;Name&gt;Not Defined&lt;/Name&gt;
        &lt;Country_Id&gt;1&lt;/Country_Id&gt;
        &lt;Contact Contact_ID=&quot;13866&quot;&gt;
           &lt;Name&gt;Holland Car Leasing&lt;/Name&gt;
           &lt;Tel/&gt;
           &lt;Asset Asset_ID=&quot;14229&quot;&gt;
              &lt;Borrower/&gt;
              &lt;TargetPrice&gt;SEE CURRENT COM&lt;/TargetPrice&gt;
              &lt;AssetSize/&gt;
           &lt;/Asset&gt;
        &lt;/Contact&gt;
     &lt;/Branch&gt;
  &lt;/Organization&gt;
lt;/creditortree&gt;</return>

I'm sure there is a problem either with my configuration or with a request.
I suspect that since I'm behind the firewall I can't access the encoding
files.
Does anybody know whether I can copy them locally and if yes where can I get
all the necessary files.

Lev Gelfer.










--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org