I have a stored process deployed as web service.
When I use soap to retrieve the Wsdl and to use the webservice i retrieve an XML file which looks like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<m:orSalesResponse xmlns:m="http://tempuri.org/orWS">
<m:orSalesResult>
<axis2ns128:Streams xmlns:axis2ns128="http://tempuri.org/orWS">
<axis2ns129:_WEBOUT contentType="text/xml;charset=windows-1252" xmlns:axis2ns129="http://tempuri.org/orWS">
<axis2ns130:Value xmlns:axis2ns130="http://tempuri.org/orWS">
<TABLE>
<ORSALES>
<Product_Category>Assorted Sports Articles</Product_Category>
<Profit>9994898.76</Profit>
</ORSALES>
<ORSALES>
<Product_Category>Children Sports</Product_Category>
<Profit>2417119.78</Profit>
</ORSALES>
<ORSALES>
<Product_Category>Clothes</Product_Category>
<Profit>9208375.41</Profit>
</ORSALES>
<ORSALES>
next time i run it
<axis2ns128:Streams xmlns:axis2ns128="http://tempuri.org/orWS">
<axis2ns129:_WEBOUT contentType="text/xml;charset=windows-1252" xmlns:axis2ns129="http://tempuri.org/orWS">
<axis2ns130:Value xmlns:axis2ns130="http://tempuri.org/orWS">
but actually i want these axis2ns rules to be gone. any ideas?
no one??
Hi Filipvdr
Check out the follwoing code below it uses Proc XSL (preproduction) to remove the names space information.
Bruno
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.