Look up for wsdl file
Hi All,
How to look up for a wsdl file for a web service deployed or published fromXI.
I know that there is an option for saving wsdl file while defining a web service in Integration Directory. but what if somone has lost it. Is there any other way to look up for the wsdl file?
Piyush
Hi Bhavesh,
If I publish wsdl in UDDI, will it automatically take changes or I have to redefine it?
e.g I change the parameters of one method from two to three.So will it be automatically reflected or I've to again redefine a web service?
Second is that how to stop or undeploy a web service. where to find that option ?
Piyush
Similar Messages
-
Oracle text search not working for WSDL files
I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
Please advise me whether oracle text can work for WSDL files also ?
Query details
===========
create index myIndex on resources (xml_data) indextype is ctxsys.context;
select * from resources where contains(xml_data, 'searchword') > 0
Thanks a lot,
SanthiEven though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
Long term you might want to consider using section groups so that you can search "within" tags.
-Ron -
(261705413) Q RPCC-21 Missing text/xml MIME-type for WSDL files?
Q<RPCC-21> Would it mess up the SOAP operations that clients do when using the
WSDL in a dynamic client to put a text/xml mime type in the WSDL-providing jsp?
A<RPCC-21>: It is a known issue that the MIME-type for WSDL files is not appropriately
transmitted so some web browsers will not identify an appropriate helper application
when they are viewed (for Netscape just press Ctrl-U to view the source). This,
however, does not affect the dynamic client as evidenced by the example code seen
in the code demonstration.
AdamSR,
You probably already have the answer by now, but I just came across the same problem and found the answer elsewhere.
The trick is to have the JavaMail jar in your classpath BEFORE the JAF jar. Given the habit of my development environment to sort jars alphabetifally it had me stumped for a bit.
Good luck
Marc -
"Quick look" possible for music files in 10.4?
Hi
My wife and I have an editing studio at home, with a sound library (music files of various formats) on a drive attached to a G4 server running 10.4. Our edit machines are also running 10.4 (I have one laptop running 10.5). While we can browse and search the library in the Finder just fine, previewing each track before deciding to use it is a bit of a pain. Since there's no "quick look" keyboard shortcut in Tiger, the only way is to either open the "i" tab under the file we're interested in, then using the Preview slider to play; opening a permanent inspector window with alt-cmd-i and mousing over to that to Preview, or double-clicking the file to pull it into iTunes to play it.
I could set up iTunes on the server and share over the network, but that would only allow previewing, not copying. Is there a way I can preview music files, either in the Finder or a Finder replacement (Path Finder? Better Finder? etc) with slightly more ease?
Thanks!
Matt
Message was edited by: Matt CliftonHi
My wife and I have an editing studio at home, with a sound library (music files of various formats) on a drive attached to a G4 server running 10.4. Our edit machines are also running 10.4 (I have one laptop running 10.5). While we can browse and search the library in the Finder just fine, previewing each track before deciding to use it is a bit of a pain. Since there's no "quick look" keyboard shortcut in Tiger, the only way is to either open the "i" tab under the file we're interested in, then using the Preview slider to play; opening a permanent inspector window with alt-cmd-i and mousing over to that to Preview, or double-clicking the file to pull it into iTunes to play it.
I could set up iTunes on the server and share over the network, but that would only allow previewing, not copying. Is there a way I can preview music files, either in the Finder or a Finder replacement (Path Finder? Better Finder? etc) with slightly more ease?
Thanks!
Matt
Message was edited by: Matt Clifton -
Problem with WSDL file generated by PI for sender SOAP
I have a scenario SOAP to idoc that I am trying to test in PI7.1. I have created my objects in the ESR and completed the configuration in IB. When I test the configuration in IB, the data passes through PI to ECC correctly.
Now I want to export the WSDL file from the Sender Service Interface being used for this scenario and test it using SOAPUI. However, when I look at the WSDL file proposed by PI, there is no SOAP URL proposed in the WSDL. My understanding from looking at other threads in the the forum is that the URL should be proposed in the WSDL file, and I can then export this WSDL file to my PC, and upload it into SOAPUI for testing.
Why is the URL not being proposed in my WSDL file?
Thanks in advance for any help.
TerriThanks Baskar that solved part of the problem.
When I use this newly generated WSDL file for testing in SOAPUI, I now get an error 401, which I believe has something to do with needing a user id and password. However, my scenario is not setup to require a userid or password. Any other help would be appreciated.
Below is the actual results from SOAPUI:
HTTP/1.1 401 Unauthorized
server: SAP NetWeaver Application Server 7.11 / AS Java 7.11
www-authenticate: Basic realm="XISOAPApps"
connection: close
pragma: no-cache
content-type: text/html;charset=ISO-8859-1
content-encoding: gzip
date: Thu, 03 Mar 2011 22:49:56 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Error Report</title>
<style>
td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
A:link
A:visited
A:active
</style>
</head>
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
<tr bgcolor="#FFFFFF">
<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 401   Unauthorized</b></font></td>
</tr>
<tr bgcolor="#3F73A3">
<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
<td height="23"><img width=1 height=1 border=0 alt=""></td>
<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server 7.11 / AS Java 7.11 </b></font></td>
</tr>
<tr bgcolor="#9DCDFD">
<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
</tr>
</table>
<br><br><br><br><br><br>
<p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> Error: Unauthorized<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> Troubleshooting Guide <a href="https://sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home">https://sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home</a></p><p></b></font></p>
<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p>
</body>
</html> -
Get the WSDL-File used for proxy generation
Hello everybody!
I created a Web Service Proxy:
SE80 -> Select Package -> Enterprise Services -> Client Proxies -> New -> WSDL Source: Local File.
Everything worked out fine. I was able to create that Proxy.
Now I would like to look at the WSDL-File that has been used:
If I take a look at that Proxy by SE80 -> Select Package -> Enterprise Services -> Client Proxies -> [Select Proxy] -> Display in new Window -> Goto: The Menue Entry "Display WSDL Document" unfortunately is disabled.
I have not configured the integration builder.
Is there a possibility to get the WSDL-file that has been used for the generated proxy? Does anybody know, if the WSDL-file, that has been used for the proxy generation is archived somewhere in the system?
Thanks,
AndreasHello,
Thanks for your reply.
I am using SAP ECC 6.0:
SAP_BASIS 700 0010 SAPKB70010 SAP Basis Component
SAP_ABA 700 0010 SAPKA70010 Cross-Application Component
Unfortunately the tab "Proxy Generation" at Utilities -> Settings is not available with my release.
Any other idea?
Greetings,
Andreas -
Mandatory fields for Purchaseorder WSDL file
Hi Everyone,
I wanted to know the mandatory fields of the WSDL file ECC_PURCHASEORDERCRTCRC,pls reply ASAPhi Tauseef,
It can be found out very easily looking at the WSDL file. Open the file in some xml editor or even internet explorer and you find XSD elements something like this
xsd:element name="Subject" type="xsd:string" minOccurs="1"
if the xsd elements with minOccurs = 1
these elements are mandatory!
regards
Ramesh P -
Hi all,
I'm trying to create a WSDL file with wsdeploy from my server classes, but it fails. My build.xml process-war syntax is somewhat similar to that of the Hello example, and the procedure is just the same; first create WEB-INF, then create portable war-file and finally create deployable war-file. The deployable war, src-jaxrpc.war is created, but it doesn't contain the WSDL file. Here are its contents:
META-INF/MANIFEST.MF
src/Harj2IF.class
src/Harj2Impl.class
WEB-INF/classes/src/LibImpl.class
WEB-INF/classes/src/LibIF.class
WEB-INF/web.xml
WEB-INF/jaxrpc-ri-before.xml
WEB-INF/Library_model.xml.gz
WEB-INF/web-before.xml
WEB-INF/jaxrpc-ri-runtime.xml
The error message I get with wsdeploy is this:
[exec] info: created temporary directory: D:\Service\build\wsdeploy-generated\jaxrpc-deploy-ec04fc
[exec] info: processing endpoint: Library
[exec] error: class java.lang.StackTraceElement does not have a public accessible empty constructor
[exec] info: created output war file: D:\Service\dist\src-jaxrpc.war
My config.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="http://localhost:9080/src-jaxrpc/src?WSDL"
packageName="src"/>
</configuration>
And my jaxrpc-ri.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="http://com.test/wsdl"
typeNamespaceBase="http://com.test/types"
urlPatternBase="/ws">
<endpoint
name="Library"
displayName="Example Library v.1.0"
description="A simple Web application"
interface="src.LibIF"
implementation="src.LibImpl"/>
<endpointMapping
endpointName="Library"
urlPattern="/src"/>
</webServices>
My LibIF.java looks like this:
package src;
import java.rmi.Remote;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import java.rmi.RemoteException;
public interface LibIF extends Remote {
public boolean initDocument(String fileName) throws IOException, ParserConfigurationException, SAXException, RemoteException;
public boolean addB(String fileName) throws IOException, RemoteException;
public boolean removeB(String fileName) throws IOException, RemoteException;
public boolean showB(String fileName) throws IOException, ParserConfigurationException, SAXException, RemoteException;
public boolean findB() throws IOException, RemoteException;
public boolean rewriteB(String fileName) throws IOException, RemoteException;
Could someone even suggest any solution based on this information?Are u trying out the example frm that Web Service Book frm that some publisher, He must be using xrpcc. Ok
.........For WSDL file not to be created there are few reasons and in them I kno one. For wsdeploy tool to create the wsdl file it reads the jaxrpc-ri.xml file and the war file.
........for the proper working of this, the impl file shd have methods which throw Remote exceptions and no errors, of course It does compile in the earlier command execution but.. few minute errors like the above might prevent the creation of wsdl file, chk these and try
........Hope it wrks..........|ABY| -
Problem with Axis Adapter endpoint url in WSDL file.
Dear experts,
We are using PI 7.1 ehp1 with a SOAP to RFC scenarios using the Axis adapter.
We have the XIAxisAdapter as sender Communication Channel and the related Sender Agreement.
When i am looking into the WSDL file of the Sender Agreement than the endpoint contains ...location="host:port/ XISOAPAdapter /MessageServlet"... in stead of ...location="host:port/ XIAxisAdapter /MessageServlet"...
The url with "XISOAPAdapter " will not work. When i export the WSDL file and manually adjust the location to "XIAxisAdapter " everything works fine.
Is it possible to directly generate a correct WSDL with calling the url http://host:50000/dir/wsdl?p=xxxx?
Thanks in advance!
Best regards,
Joost WeghorstHi Sonya,
You can use configuration plan while deploying composite.
The configuration plan enables you to define the URL and property values to use in different environments. During process deployment, the configuration plan is used to search the SOA project for values that must be replaced to adapt the project to the next target environment.
Please refer this doc. for getting introduced to config plan.
http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE10908
To deploy soa composite with config plan refer this doc:
http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE85469 -
Workshop IDE can not create CTRL from WSDL file
Hi everybody,
For the evualtion of the Workshop IDE that comes with WLS 7.0 beta, I'm developing
a web service (via this IDE) which must interoperate with another web service
implemented with the help of another tool. I got the corresponding WSDL of this
"outside" web service (see attachement), and when I want to generate the corresponding
CTRL (via Add Service Control), I get the following error:
Error: Could not find operation 'sayHello' in portType ''
Prescription: The operation you are trying to bind was not found among the declared
operations. Please check your <portType> sections.
I do not have a lot of experience with WSDL files and its specification, but I
compared this file with another WSDL files that work with WORKSHOP IDE, and I
do not see difference between these files and the file that does not work. Moreover
the IDE error says that my service 'sayHello' can not be find inside the 'portType'
tags, but if you have a look at the WSDL file, you will see that is not true ?!?!?
Can somebody help me please?
Have a nice day
VincentVincent,
What is happening is that the type attribute on the binding tag must match
both the targetnamespace and the name of the portType name attribute. Yours
do match in basename only. When parsing the WSDL file what we do is put the
name attributes of the portType, service and binding tags into the
targetNamespace of the WSDL and then we expect the references to these names
to also be resolved to that namespace.
In the case of your WSDL, your targetNamespace is
http://localhost:8000/HelloWorldApp/servlet/rpcrouter and the type attribute
on the binding attribute just references HelloWorldServicePort which means
it will use the default namespace of http://schemas.xmlsoap.org/wsdl which
is, of course, different than the targetNamespace.
To fixup the WSDL I would recommend you just define a new namespace at the
top of the WSDL file that matches the targetNamespace attribute and then use
that prefix in the text value of the attribute used to reference that name.
Yes, we do need to do some better parser/error messages to help identify
this :)
Here is one way that I have done to fixup your WSDL and Workshop does pull
it in and expose the methods correctly:
<?xml version='1.0'?>
<definitions name='HelloWorldService'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
xmlns:test='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
xmlns:xsd1='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schema'>
<types>
<xsd:schema
targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schem
a'>
<xsd:simpleType name="java.lang.Integer"><xsd:restriction
base="xsd:int"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Short"><xsd:restriction
base="xsd:short"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Long"><xsd:restriction base="xsd:long"
/></xsd:simpleType>
<xsd:simpleType name="java.lang.Double"><xsd:restriction
base="xsd:double"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Float"><xsd:restriction
base="xsd:float"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Boolean"><xsd:restriction
base="xsd:boolean"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Character"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.String"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.StringBuffer"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Byte"><xsd:restriction
base="xsd:byte"/></xsd:simpleType>
<xsd:simpleType name="char_lb_rb"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="char"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
</xsd:schema>
</types>
<message name='sayHelloInput'>
<part name='message' type='xsd:string'/>
</message>
<message name='sayHelloOutput'>
<part name='result' type='xsd:string'/>
</message>
<portType name='HelloWorldServicePort'>
<operation name='sayHello'>
<input message='test:sayHelloInput'/>
<output message='test:sayHelloOutput'/>
</operation>
</portType>
<binding name='HelloWorldServiceBinding'
type='test:HelloWorldServicePort'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='sayHello'>
<soap:operation
soapAction='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/sayHello'/
>
<input>
<soap:body use='encoded' namespace='urn:HelloWorldService'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output>
<soap:body use='encoded' namespace='urn:HelloWorldService'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='HelloWorldService'>
<port name='HelloWorldServicePort'
binding='test:HelloWorldServiceBinding'>
<soap:address
location='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'/>
</port>
</service>
</definitions>
Thanks,
Art
"Vincent Ducret" <[email protected]> wrote in message
news:[email protected]...
>
Thanks for your answer, but I do not understand it, and also yoursuggestion.
>
According to WSDL specification, the 'type' attribute of a 'binding' tagmust
reference (bind to) an exisiting 'portType' tag. And it's the case here,no? I.e.
we have a 'portType' tag called HelloWorldServicePort, which is referencedby
the 'binding' tag named HelloWorldServiceBinding via its 'type' attribute:'HelloWorldServicePort'.
>
Where is the problem ?
Thanks a lot
Thanks for your help -
QuickLook not working for SVG files
Hi,
I get a blank white rectangle when I QuickLook SVG files. Is it working for anyone else?
I'm testing with this file, which renders correctly in Safari, and shows a preview in Finder. I'm running OS X 10.10.2.
qlmanage -d 1 -p SVG_logo.svg says that it's using the Web.qlgenerator.Apple closed my radar as a duplicate of #19639311.
A quick google search revealed that this same bug is affecting html files as well.
http://apple.stackexchange.com/questions/169948/updating-to-os-x-10-10-2-broke-q uick-look-previews-for-html-files
10.10.2 quick look broken for HTML files -
Can ABAP proxy to consume WSDL file be run as background job for every10min
Hi all,
I have a requirement where I need to build an interface which gatheru2019s the purchase order details and send to external third party software in their required format (as an XML file).
So I should be the first point of contact and should trigger the interface each time a purchase order is generated.
So I am thinking that I should develop a background job for every 10 minutes which will look for new purchase orders and gathers the information of the purchase orders and send them to external third party software in their required format.
I have gone through all the SAP forums and e-Learning but still I have confusion in regards to how is it possible technically? Can some one guide me with some information on the same.
I have a little bit of confusion and want to know few things.
1) Should I create a web service or should I consume a web service?
2) If I need to consume a web service, then can I write an ABAP proxy to be run in background fro evry 10 minutes? I mean can we run ABAP proxy as a batch job in the background?
3) Is there a difference between consuming an XML file and WSDL File?
Any Help will be highly appreciated.
Regards,
Jessica.There are two options (as I know) to generate XML file.
1. Use XML TRANSFORMATION to get the XML string based your TRANSFORMATION. You can input your data and get back the XML string. Download this string to a file
Test XML generation program is:
types: begin of ty_data,
num type i,
end of ty_data.
DATA: itab TYPE standard table of ty_Data,
la_data like line of itab,
xmlstr TYPE string.
DO 3 TIMES.
la_data-num = sy-index.
APPEND la_data TO itab.
ENDDO.
CALL TRANSFORMATION ztest_np1
SOURCE table = itab
RESULT XML xmlstr.
CALL FUNCTION 'DISPLAY_XML_STRING'
EXPORTING xml_string = xmlstr.
My ZTEST_NP1 transformation. To create a transformation, click on the transformation in the "CALL TRANSFORMATION ztest_np1" statement. Select Simple transformation type.
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="table"/>
<tt:template>
<table>
<tt:loop ref=".table">
<item>
<tt:value ref="NUM"/>
</item>
</tt:loop>
</table>
</tt:template>
</tt:transform>
XML string is like:
<?xml version="1.0" encoding="utf-8" ?>
<table>
<item>1</item>
<item>2</item>
<item>3</item>
</table>
To use this option, you have to create a transformation and than use it to generate the XML string.
Check this SAP Help
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm
2. You can concatenate and create an XML string and download that string into a file.
Regards,
Naimesh Patel -
Error in loading the WSDL file. Check the error log for more details
Hello,
I am trying to create a Import Adaptive Webservice Model. I am using the WSDL:
http://www.abysal.com/soap/AbysalEmail.wsdl
I am getting the below error when I choose WSDL source as UDDI or file (I am not using any logical destination)
"Error in loading the WSDL file. Check the error log for more details."
Where can i see the error log? And what is the solution to fix this?
I am able to create the model if i save the wsdl locally on my machine and choose Local File System or File as the WSDL source. But at runtime this fails as the application tries to read the WSDL for metadata info and it looks into the application server for this file.
I also tried creating the old webservice model. And it is able to create the model. But I feel I need to use the new model as this one is deprecated.
Thanks,
SachinHi
For the logs you can search in this directory
Goto Window->Show view->Other->PDE Runtim->Error Log
please try this may it would help you out, try to create a model for you Web Service using Web Service Model (DEPRECATED)
See this link:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/integration%2bof%2bweb%2bservices%2b-%2bdifferent%2bscenarios -
Need help in creating XSD for a WSDL file to tranform given XML
Hi,
Please let me knoe if this is the right forum to post the query below:
We are trying to transform a XML output from a webservice using a XSD file. But we are facing problem as the XML output has some namespace issue and schema due to which transformation is not working fine. I am pasting the files below:
WSDL file used is
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/Projectix20/SOAPAccess" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/Projectix20/SOAPAccess" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/Projectix20/SOAPAccess">
<s:element name="ExecuteSQLToXML">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ExecuteSQLToXMLResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ExecuteSQLToXMLResult">
<s:complexType mixed="true">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="NewDataSet">
<s:complexType>
<s:choice>
<s:element minOccurs="0" maxOccurs="unbounded" name="Table1">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="10" name="FName" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:choice>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetDataTablePage">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="PageNumber" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="RecordsPerPage" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetDataTablePageResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetDataTablePageResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRecordCount">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRecordCountResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetRecordCountResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UploadCanAtt">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="CanID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="Filename" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="bytesData" type="s:base64Binary" />
<s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UploadCanAttResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="UploadCanAttResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DownloadCanAtt">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="CanAttID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DownloadCanAttResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DownloadCanAttResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="ExecuteSQLToXMLSoapIn">
<wsdl:part name="parameters" element="tns:ExecuteSQLToXML" />
</wsdl:message>
<wsdl:message name="ExecuteSQLToXMLSoapOut">
<wsdl:part name="parameters" element="tns:ExecuteSQLToXMLResponse" />
</wsdl:message>
<wsdl:message name="GetDataTablePageSoapIn">
<wsdl:part name="parameters" element="tns:GetDataTablePage" />
</wsdl:message>
<wsdl:message name="GetDataTablePageSoapOut">
<wsdl:part name="parameters" element="tns:GetDataTablePageResponse" />
</wsdl:message>
<wsdl:message name="GetRecordCountSoapIn">
<wsdl:part name="parameters" element="tns:GetRecordCount" />
</wsdl:message>
<wsdl:message name="GetRecordCountSoapOut">
<wsdl:part name="parameters" element="tns:GetRecordCountResponse" />
</wsdl:message>
<wsdl:message name="UploadCanAttSoapIn">
<wsdl:part name="parameters" element="tns:UploadCanAtt" />
</wsdl:message>
<wsdl:message name="UploadCanAttSoapOut">
<wsdl:part name="parameters" element="tns:UploadCanAttResponse" />
</wsdl:message>
<wsdl:message name="DownloadCanAttSoapIn">
<wsdl:part name="parameters" element="tns:DownloadCanAtt" />
</wsdl:message>
<wsdl:message name="DownloadCanAttSoapOut">
<wsdl:part name="parameters" element="tns:DownloadCanAttResponse" />
</wsdl:message>
<wsdl:portType name="SOAPAccessSoap">
<wsdl:operation name="ExecuteSQLToXML">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
<wsdl:input message="tns:ExecuteSQLToXMLSoapIn" />
<wsdl:output message="tns:ExecuteSQLToXMLSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetDataTablePage">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
<wsdl:input message="tns:GetDataTablePageSoapIn" />
<wsdl:output message="tns:GetDataTablePageSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetRecordCount">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
<wsdl:input message="tns:GetRecordCountSoapIn" />
<wsdl:output message="tns:GetRecordCountSoapOut" />
</wsdl:operation>
<wsdl:operation name="UploadCanAtt">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Uploads a text or binary attachment file for a Candidate record.</documentation>
<wsdl:input message="tns:UploadCanAttSoapIn" />
<wsdl:output message="tns:UploadCanAttSoapOut" />
</wsdl:operation>
<wsdl:operation name="DownloadCanAtt">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Uploads a text or binary attachment file for a Candidate record.</documentation>
<wsdl:input message="tns:DownloadCanAttSoapIn" />
<wsdl:output message="tns:DownloadCanAttSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SOAPAccessSoap" type="tns:SOAPAccessSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="ExecuteSQLToXML">
<soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/ExecuteSQLToXML" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetDataTablePage">
<soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/GetDataTablePage" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetRecordCount">
<soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/GetRecordCount" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UploadCanAtt">
<soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/UploadCanAtt" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DownloadCanAtt">
<soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/DownloadCanAtt" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SOAPAccess">
<wsdl:port name="SOAPAccessSoap" binding="tns:SOAPAccessSoap">
<soap:address location="http://sales.projectix.com:81/customer/SOAPAccess.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
XSD file used for transformation is:
<?xml version = '1.0' encoding = 'UTF-8'?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:element name="ExecuteSQLToXMLResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="ExecuteSQLToXMLResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="parameters">
<xs:complexType>
<xs:sequence>
<xs:element ref="ExecuteSQLToXMLResponse"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExecuteSQLToXMLResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="NewDataSet"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FNAME" type="xs:string"/>
<xs:element name="Table1">
<xs:complexType>
<xs:sequence>
<xs:element ref="FNAME"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="NewDataSet">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="Table1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
XML Output from webservice call that we are trying to tranform using above XSD is:
<parameters >
<ExecuteSQLToXMLResponse xmlns = "http://tempuri.org/Projectix20/SOAPAccess" >
<ExecuteSQLToXMLResult >
<NewDataSet xmlns = "" >
<xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema" xmlns:msdata = "urn:schemas-microsoft-com:xml-msdata" >
<xs:element name = "NewDataSet" msdata:IsDataSet = "true" >
<xs:complexType >
<xs:choice maxOccurs = "unbounded" >
<xs:element name = "Table1" >
<xs:complexType >
<xs:sequence >
<xs:element name = "FNAME" type = "xs:string" minOccurs = "0" ></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Table1 >
<FNAME >
JOHN
</FNAME>
</Table1>
<Table1 >
<FNAME >
John
</FNAME>
</Table1>
<Table1 >
<FNAME >
John
</FNAME>
</Table1>
<Table1 >
<FNAME >
JOHN
</FNAME>
</Table1>
<Table1 >
<FNAME >
John
</FNAME>
</Table1>
</NewDataSet>
</ExecuteSQLToXMLResult>
</ExecuteSQLToXMLResponse>
</parameters>
I am not sure what we are missing in XSD file that the XML output is not getting transformed correctly...although we tried transforming the XML output by removing some information in XML output above and it was getting trasformed properly..
We remove
1. xmlns = "http://tempuri.org/Projectix20/SOAPAccess" from <ExecuteSQLToXMLResponse xmlns = "http://tempuri.org/Projectix20/SOAPAccess" >
2. xmlns = "" from <NewDataSet xmlns = "" >
3 remove <parameters > and </parameters > tags from output and the XML Output is getting tranformed correctly.
Please let us know if we can transform the XML Output without requiring these removals.
Thanks,
PawanCould you clarify some things? You are saying you are trying to transform the xml output of a webservice with an xsd, but an xsd is a schema that describes the allowed format of a xml file. If you want to transform xml from one format to an other (from one xsd to an other) you have to use a xsl file. You can make and test this with JDeveloper. Are you calling the webservice from esb or bpel?
Kind Regards,
Andre -
I have a large library that I ripped in AIFF using iTunes. I converted to Mp3 to save drive space, keeping the originals. I have a new computer and want to revert to my original files. iTunes sees the library but is looking for Mp3 files. Suggestions?
You're welcome.
For tips on logical organization within iTunes see my article on Grouping Tracks Into Albums.
tt2
Maybe you are looking for
-
MAC Keyboard - Works on a PC but not my MAC
Yup... makes no sense huh? I bought a used MAC G4 Quicksilver, came with mouse and keyboard. I plug the keyboard in and all works fine, except the "END" key and the "NumLock" key... maybe a few other but haven't noticed yet, just these two so far. Nu
-
I am trying to download a free trial of photoshop for my macbook pro and it says there is an error and that the requirements for the new version is not supported for the mac I have. I have looked at the list of requirements but have no idea how to te
-
AbstractMethodError on WebLogic Linux
I am trying to migrate a web application from the WebLogic 8.1 server running on a Solaris box to a WebLogic server running on Linux. I am able to deploy the application with no problem, however I am getting the following runtime error: I am using th
-
Dear all, I have this query This query retuns the right value for other users.. whereas the same query returns no value for some other user.. (this user has select privileges on the tables department,invoice_rec).. What could be the reason ? Kai Edit
-
Why does Firefox show a red screen briefly on startup?
Whenever I start Firefox on my laptop, it briefly shows a red screen before heading to my home page. Is this normal for the browser now or should I be looking at my hardware rather than the software?