Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ImportString Fails when inserting XML

6 posts in XML Last posting was on 2008-05-23 06:49:06.0Z
zakkar Posted on 2008-05-22 12:04:59.0Z
From: zakkar <zakkar@gmail.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: ImportString Fails when inserting XML
Date: Thu, 22 May 2008 05:04:59 -0700 (PDT)
Organization: http://groups.google.com
Lines: 41
Message-ID: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com>
NNTP-Posting-Host: 193.92.153.6
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211457899 5361 127.0.0.1 (22 May 2008 12:04:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 22 May 2008 12:04:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 34g2000hsh.googlegroups.com; posting-host=193.92.153.6; posting-account=xFij3AoAAAA7QjhhYpBMEnYg4RLo9pgD
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!34g2000hsh.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1744
Article PK: 814301

Hi ,

I have created in PB 11 a web service which contains a simple method.
It takes as an argument a string and with that string which is
formatted as an XML I am creating a datastore. The datastore has
already the dataobject assigned etc. etc...

The xml I am passing is the following

<?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
<CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
<ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
IterationID> <UserName>Test User</UserName> <Notes>This is Test for
Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>

In PB code I am having a simple line of code

lds_datastore.ImportString(XML! , <the xml string>)

The strange thing is that for the localhost it is working very well
but when I am uploading to the server which it is supposed to be I'm
getting all the time "No rows or startrow value supplied is greater
than the number of rows in the string"

Why it is working for localhost and it is not working for my
webserver. The webservice is correct. I can call other
methods ,retrieve data etc.

Any ideas ?

I thought that perhaps I'm missing some dlls from the GAC. But I have
deployed everything. The webservice is running. For the localhost and
my local machine I have PB 11 installed. Also I have installed VS
2005. I haven't installed PB and VS studio .NET for the webserver.
Should I need to check if 'm missing any dlls from the webserver ???

Thank you


Bruce Armstrong [TeamSybase] Posted on 2008-05-22 13:36:19.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: ImportString Fails when inserting XML
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <1mta34pbb7bb18amf8emsc89cllivsi8td@4ax.com>
References: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 22 May 2008 06:36:19 -0700
X-Trace: forums-1-dub 1211463379 10.22.241.152 (22 May 2008 06:36:19 -0700)
X-Original-Trace: 22 May 2008 06:36:19 -0700, vip152.sybase.com
Lines: 48
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1745
Article PK: 814300

PB uses a number of xerces runtime files to handle the XML import.
Have you deployed those with the app?

On Thu, 22 May 2008 05:04:59 -0700 (PDT), zakkar <zakkar@gmail.com>

wrote:

>Hi ,
>
>I have created in PB 11 a web service which contains a simple method.
>It takes as an argument a string and with that string which is
>formatted as an XML I am creating a datastore. The datastore has
>already the dataobject assigned etc. etc...
>
>The xml I am passing is the following
>
><?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
><CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
>York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
><ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
>LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
>IterationID> <UserName>Test User</UserName> <Notes>This is Test for
>Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>
>
>In PB code I am having a simple line of code
>
>lds_datastore.ImportString(XML! , <the xml string>)
>
>The strange thing is that for the localhost it is working very well
>but when I am uploading to the server which it is supposed to be I'm
>getting all the time "No rows or startrow value supplied is greater
>than the number of rows in the string"
>
>Why it is working for localhost and it is not working for my
>webserver. The webservice is correct. I can call other
>methods ,retrieve data etc.
>
>Any ideas ?
>
>I thought that perhaps I'm missing some dlls from the GAC. But I have
>deployed everything. The webservice is running. For the localhost and
>my local machine I have PB 11 installed. Also I have installed VS
>2005. I haven't installed PB and VS studio .NET for the webserver.
>Should I need to check if 'm missing any dlls from the webserver ???
>
>Thank you
>


zakkar Posted on 2008-05-22 13:57:57.0Z
From: zakkar <zakkar@gmail.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: ImportString Fails when inserting XML
Date: Thu, 22 May 2008 06:57:57 -0700 (PDT)
Organization: http://groups.google.com
Lines: 53
Message-ID: <47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com>
References: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com> <1mta34pbb7bb18amf8emsc89cllivsi8td@4ax.com>
NNTP-Posting-Host: 193.92.153.6
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211464678 25605 127.0.0.1 (22 May 2008 13:57:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 22 May 2008 13:57:58 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m36g2000hse.googlegroups.com; posting-host=193.92.153.6; posting-account=xFij3AoAAAA7QjhhYpBMEnYg4RLo9pgD
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!m36g2000hse.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1747
Article PK: 814303

On May 22, 4:36 pm, "Bruce Armstrong [TeamSybase]"

<NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> PB uses a number of xerces runtime files to handle the XML import.
> Have you deployed those with the app?
>
> On Thu, 22 May 2008 05:04:59 -0700 (PDT), zakkar <zak...@gmail.com>
> wrote:
>
> >Hi ,
>
> >I have created in PB 11 a web service which contains a simple method.
> >It takes as an argument a string and with that string which is
> >formatted as an XML I am creating a datastore. The datastore has
> >already the dataobject assigned etc. etc...
>
> >The xml I am passing is the following
>
> ><?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
> ><CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
> >York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
> ><ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
> >LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
> >IterationID> <UserName>Test User</UserName> <Notes>This is Test for
> >Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>
>
> >In PB code I am having a simple line of code
>
> >lds_datastore.ImportString(XML! , <the xml string>)
>
> >The strange thing is that for the localhost it is working very well
> >but when I am uploading to the server which it is supposed to be I'm
> >getting all the time "No rows or startrow value supplied is greater
> >than the number of rows in the string"
>
> >Why it is working for localhost and it is not working for my
> >webserver. The webservice is correct. I can call other
> >methods ,retrieve data etc.
>
> >Any ideas ?
>
> >I thought that perhaps I'm missing some dlls from the GAC. But I have
> >deployed everything. The webservice is running. For the localhost and
> >my local machine I have PB 11 installed. Also I have installed VS
> >2005. I haven't installed PB and VS studio .NET for the webserver.
> >Should I need to check if 'm missing any dlls from the webserver ???
>
> >Thank you

PBXerces110.dll , xerces-c_2_1_0.dll , xerces-c_2_6.dll , xerces-
depdom_2_6.dll are in the path. Am I missing something ?
Should I need to add them to the GAC ?

Thank you


Bruce Armstrong [TeamSybase] Posted on 2008-05-22 15:50:18.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.xml
References: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com> <1mta34pbb7bb18amf8emsc89cllivsi8td@4ax.com> <47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com>
Subject: Re: ImportString Fails when inserting XML
Lines: 62
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4835963a$1@forums-1-dub>
Date: 22 May 2008 08:50:18 -0700
X-Trace: forums-1-dub 1211471418 10.22.241.152 (22 May 2008 08:50:18 -0700)
X-Original-Trace: 22 May 2008 08:50:18 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1748
Article PK: 814305

You can't install them in the GAC, they're not strongly named assemblies.
They're not even managed assemblies.

Where did you deploy them to?

"zakkar" <zakkar@gmail.com> wrote in message
news:47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com...
> On May 22, 4:36 pm, "Bruce Armstrong [TeamSybase]"
> <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
>> PB uses a number of xerces runtime files to handle the XML import.
>> Have you deployed those with the app?
>>
>> On Thu, 22 May 2008 05:04:59 -0700 (PDT), zakkar <zak...@gmail.com>
>> wrote:
>>
>> >Hi ,
>>
>> >I have created in PB 11 a web service which contains a simple method.
>> >It takes as an argument a string and with that string which is
>> >formatted as an XML I am creating a datastore. The datastore has
>> >already the dataobject assigned etc. etc...
>>
>> >The xml I am passing is the following
>>
>> ><?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
>> ><CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
>> >York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
>> ><ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
>> >LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
>> >IterationID> <UserName>Test User</UserName> <Notes>This is Test for
>> >Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>
>>
>> >In PB code I am having a simple line of code
>>
>> >lds_datastore.ImportString(XML! , <the xml string>)
>>
>> >The strange thing is that for the localhost it is working very well
>> >but when I am uploading to the server which it is supposed to be I'm
>> >getting all the time "No rows or startrow value supplied is greater
>> >than the number of rows in the string"
>>
>> >Why it is working for localhost and it is not working for my
>> >webserver. The webservice is correct. I can call other
>> >methods ,retrieve data etc.
>>
>> >Any ideas ?
>>
>> >I thought that perhaps I'm missing some dlls from the GAC. But I have
>> >deployed everything. The webservice is running. For the localhost and
>> >my local machine I have PB 11 installed. Also I have installed VS
>> >2005. I haven't installed PB and VS studio .NET for the webserver.
>> >Should I need to check if 'm missing any dlls from the webserver ???
>>
>> >Thank you
>
> PBXerces110.dll , xerces-c_2_1_0.dll , xerces-c_2_6.dll , xerces-
> depdom_2_6.dll are in the path. Am I missing something ?
> Should I need to add them to the GAC ?
>
> Thank you


zakkar Posted on 2008-05-23 06:28:40.0Z
From: zakkar <zakkar@gmail.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: ImportString Fails when inserting XML
Date: Thu, 22 May 2008 23:28:40 -0700 (PDT)
Organization: http://groups.google.com
Lines: 79
Message-ID: <3d8cc0fb-ae4f-4a80-ae6d-1ce4ff6ea025@e39g2000hsf.googlegroups.com>
References: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com> <1mta34pbb7bb18amf8emsc89cllivsi8td@4ax.com> <47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com> <4835963a$1@forums-1-dub>
NNTP-Posting-Host: 193.92.153.6
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211524121 11378 127.0.0.1 (23 May 2008 06:28:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 23 May 2008 06:28:41 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e39g2000hsf.googlegroups.com; posting-host=193.92.153.6; posting-account=xFij3AoAAAA7QjhhYpBMEnYg4RLo9pgD
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!e39g2000hsf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1749
Article PK: 814308

On May 22, 6:50 pm, "Bruce Armstrong [TeamSybase]"

<NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> You can't install them in the GAC, they're not strongly named assemblies.
> They're not even managed assemblies.
>
> Where did you deploy them to?
>
> "zakkar" <zak...@gmail.com> wrote in message
>
> news:47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com...
>
> > On May 22, 4:36 pm, "Bruce Armstrong [TeamSybase]"
> > <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> >> PB uses a number of xerces runtime files to handle the XML import.
> >> Have you deployed those with the app?
>
> >> On Thu, 22 May 2008 05:04:59 -0700 (PDT), zakkar <zak...@gmail.com>
> >> wrote:
>
> >> >Hi ,
>
> >> >I have created in PB 11 a web service which contains a simple method.
> >> >It takes as an argument a string and with that string which is
> >> >formatted as an XML I am creating a datastore. The datastore has
> >> >already the dataobject assigned etc. etc...
>
> >> >The xml I am passing is the following
>
> >> ><?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
> >> ><CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
> >> >York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
> >> ><ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
> >> >LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
> >> >IterationID> <UserName>Test User</UserName> <Notes>This is Test for
> >> >Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>
>
> >> >In PB code I am having a simple line of code
>
> >> >lds_datastore.ImportString(XML! , <the xml string>)
>
> >> >The strange thing is that for the localhost it is working very well
> >> >but when I am uploading to the server which it is supposed to be I'm
> >> >getting all the time "No rows or startrow value supplied is greater
> >> >than the number of rows in the string"
>
> >> >Why it is working for localhost and it is not working for my
> >> >webserver. The webservice is correct. I can call other
> >> >methods ,retrieve data etc.
>
> >> >Any ideas ?
>
> >> >I thought that perhaps I'm missing some dlls from the GAC. But I have
> >> >deployed everything. The webservice is running. For the localhost and
> >> >my local machine I have PB 11 installed. Also I have installed VS
> >> >2005. I haven't installed PB and VS studio .NET for the webserver.
> >> >Should I need to check if 'm missing any dlls from the webserver ???
>
> >> >Thank you
>
> > PBXerces110.dll , xerces-c_2_1_0.dll , xerces-c_2_6.dll , xerces-
> > depdom_2_6.dll are in the path. Am I missing something ?
> > Should I need to add them to the GAC ?
>
> > Thank you

Hi ,
In a directory C:\Runtime_files. Then I have added the specific
directory in the path. The directory is in front.My webserver has
The .NET framework 2 service pack 1.
It doesn't make sense. For localhost the same code is working and not
for my server.
I even took all the files from the shared directory and put them in my
c:\Runtime_files directory. I don't know if it is much of a help but
the webserver has operating system windows server 2003.Locally i'm
having XP.
Installing also PB and .NET on the server is a different approach but
not a good one.
Should I remove the directory and put eveything in the C:\windows ?


zakkar Posted on 2008-05-23 06:49:06.0Z
From: zakkar <zakkar@gmail.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: ImportString Fails when inserting XML
Date: Thu, 22 May 2008 23:49:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 86
Message-ID: <30805f72-2456-4119-a7b7-3b50975a661d@m36g2000hse.googlegroups.com>
References: <8affc6c0-431c-4061-a403-b1e17cdc9559@34g2000hsh.googlegroups.com> <1mta34pbb7bb18amf8emsc89cllivsi8td@4ax.com> <47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com> <4835963a$1@forums-1-dub> <3d8cc0fb-ae4f-4a80-ae6d-1ce4ff6ea025@e39g2000hsf.googlegroups.com>
NNTP-Posting-Host: 193.92.153.6
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211525346 11499 127.0.0.1 (23 May 2008 06:49:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 23 May 2008 06:49:06 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m36g2000hse.googlegroups.com; posting-host=193.92.153.6; posting-account=xFij3AoAAAA7QjhhYpBMEnYg4RLo9pgD
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!m36g2000hse.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1750
Article PK: 814306


On May 23, 9:28 am, zakkar <zak...@gmail.com> wrote:
> On May 22, 6:50 pm, "Bruce Armstrong [TeamSybase]"
>
>
>
> <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> > You can't install them in the GAC, they're not strongly named assemblies.
> > They're not even managed assemblies.
>
> > Where did you deploy them to?
>
> > "zakkar" <zak...@gmail.com> wrote in message
>
> >news:47061047-1a2a-45e0-aaf7-788e378d376c@m36g2000hse.googlegroups.com...
>
> > > On May 22, 4:36 pm, "Bruce Armstrong [TeamSybase]"
> > > <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> > >> PB uses a number of xerces runtime files to handle the XML import.
> > >> Have you deployed those with the app?
>
> > >> On Thu, 22 May 2008 05:04:59 -0700 (PDT), zakkar <zak...@gmail.com>
> > >> wrote:
>
> > >> >Hi ,
>
> > >> >I have created in PB 11 a web service which contains a simple method.
> > >> >It takes as an argument a string and with that string which is
> > >> >formatted as an XML I am creating a datastore. The datastore has
> > >> >already the dataobject assigned etc. etc...
>
> > >> >The xml I am passing is the following
>
> > >> ><?xml version='1.0' encoding='UTF-8' ?> <root> <Row Recordid='1'>
> > >> ><CompanyID>DemoDash</CompanyID> <Vessel>Demo Opt</Vessel> <Port>New
> > >> >York</Port> <ETA_Date>5/15/2008</ETA_Date> <ETA_Time>1000</ETA_Time>
> > >> ><ETD_Date>5/17/2008</ETD_Date> <HSFO_Qty>500</HSFO_Qty> <LSFO_Qty>0</
> > >> >LSFO_Qty> <MDO_Qty>0</MDO_Qty> <MGO_Qty>55</MGO_Qty> <IterationID>117</
> > >> >IterationID> <UserName>Test User</UserName> <Notes>This is Test for
> > >> >Integration. New York - IFO 380 cst - 500 mt</Notes> </Row> </root>
>
> > >> >In PB code I am having a simple line of code
>
> > >> >lds_datastore.ImportString(XML! , <the xml string>)
>
> > >> >The strange thing is that for the localhost it is working very well
> > >> >but when I am uploading to the server which it is supposed to be I'm
> > >> >getting all the time "No rows or startrow value supplied is greater
> > >> >than the number of rows in the string"
>
> > >> >Why it is working for localhost and it is not working for my
> > >> >webserver. The webservice is correct. I can call other
> > >> >methods ,retrieve data etc.
>
> > >> >Any ideas ?
>
> > >> >I thought that perhaps I'm missing some dlls from the GAC. But I have
> > >> >deployed everything. The webservice is running. For the localhost and
> > >> >my local machine I have PB 11 installed. Also I have installed VS
> > >> >2005. I haven't installed PB and VS studio .NET for the webserver.
> > >> >Should I need to check if 'm missing any dlls from the webserver ???
>
> > >> >Thank you
>
> > > PBXerces110.dll , xerces-c_2_1_0.dll , xerces-c_2_6.dll , xerces-
> > > depdom_2_6.dll are in the path. Am I missing something ?
> > > Should I need to add them to the GAC ?
>
> > > Thank you
>
> Hi ,
> In a directory C:\Runtime_files. Then I have added the specific
> directory in the path. The directory is in front.My webserver has
> The .NET framework 2 service pack 1.
> It doesn't make sense. For localhost the same code is working and not
> for my server.
> I even took all the files from the shared directory and put them in my
> c:\Runtime_files directory. I don't know if it is much of a help but
> the webserver has operating system windows server 2003.Locally i'm
> having XP.
> Installing also PB and .NET on the server is a different approach but
> not a good one.
> Should I remove the directory and put eveything in the C:\windows ?

What about security ? Is it possible that security permissions prevent
the datastore to execute the importstring command ?I haven't apply any
permissions to the webserver.