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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.