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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.