Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML using UpfrontCmd and URL

Status
Not open for further replies.

dengocp

Vendor
Jul 13, 2004
5
0
0
AU
I need help

Here is my xml

<DescribeNewsBox RequestId="June 2004"><Filter><Select>UP.Name = 'June 2004'</Select></Filter></DescribeNewsBox>

When I type this xml under explorer URL

?xmlcmd

The result output to the explorer window OK

But when I type the above xml into myxml.xml file and run under Unix command line

%UpfrontCmd -u admin -p admin123 -f myxml.xml

There is no result come back

Thanks
 
Try including the the appropriate gateway using the "-g" command-line switch.
 
Thanks for the reply

I read the help for the command

UpfrontCmd -h and there is no such -g paramter

These are the options for the command:

UpfrontCmd -u username-p password-c userclass
-s computername:portnumber-f inputfile-o outputfile" xmlcommand"

Anyhow, I tried the -g parameter but the command came back with error.

I tried -s option and the same. There is no result came back

./UpfrontCmd -u admin -p admin123 -s iwrser1 -f myxml.xml
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><Result xmlns=" ResultCode="Success"></Standard_Result></Result>


As you can see the ResultCode is Success but there is no result coming out on the screen !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top