SSIS Not Detecting Input Service or Method from WSDL File
I have a WSDL file saved locally (first downloaded from a developer kit, which instructs to save it locally and NOT download it from a public URL), and I'm trying to use it in a Web Service Task in SSIS (2008 R2 Enterprise Edition). I'm pointing to the local
file in the Web Service Task Editor (General tab). The HTTP Connection is pointing to a URL that has had a successful test connection in the HTTP Connection Manager.
However, the Input tab dropdown menus for selecting Service and Method are blank. I'm not getting any errors about the WSDL file itself. It looks to be well-formed and valid. I'm not sure why SSIS isn't detecting the services and methods from the WSDL document.
I tried saving a different WSDL document locally from
http://graphical.weather.gov, and that worked in a different Web Service Task. I'm guessing there's something wrong with the structure of the WSDL. I saw this
similar post that makes me think this is indeed the case.
The WSDL was accessed with account credentials, so I've redacted identifying information in the code below:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:error="http://www.[redacted].com/error" xmlns:co="http://www.[redacted].com/co" xmlns:srv="http://www.[redacted].com/srv" xmlns:tns="http://www.[redacted].com/tns" targetNamespace="http://www.[redacted].com/tns">
<wsdl:types>
<xsd:schema>
<xsd:import namespace="http://www.[redacted].com/XMLSchema/1" schemaLocation="1.xsd"/>
<xsd:import namespace="http://www.[redacted].com/XMLSchema/2" schemaLocation="2.xsd"/>
<xsd:import namespace="http://www.[redacted].com/XMLSchema/3" schemaLocation="3.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ServiceRequestMessage">
<wsdl:part name="Body" element="srv:ServiceRequest"/>
<wsdl:part name="security" element="co:security"/>
</wsdl:message>
<wsdl:message name="ServiceResponseMessage">
<wsdl:part name="Body" element="srv:ServiceResponse"/>
</wsdl:message>
<wsdl:message name="ServiceErrorMessage">
<wsdl:part name="ServiceError" element="error:Errors"/>
</wsdl:message>
<wsdl:portType name="ServicePortType">
<wsdl:operation name="ProcessService">
<wsdl:input name="ServiceRequest" message="tns:ServiceRequestMessage"/>
<wsdl:output name="ServiceResponse" message="tns:ServiceResponseMessage"/>
<wsdl:fault name="ServiceError" message="tns:ServiceErrorMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceBinding" type="tns:ServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ProcessService">
<soap:operation soapAction="http://soap.[redacted].com/binding" style="document"/>
<wsdl:input name="ServiceRequest">
<soap:body parts="Body" use="literal"/>
<soap:header message="tns:ServiceRequestMessage" part="security" use="literal">
<soap:headerfault message="tns:ServiceErrorMessage" part="ServiceError" use="literal"/>
</soap:header>
</wsdl:input>
<wsdl:output name="ServiceResponse">
<soap:body parts="Body" use="literal"/>
</wsdl:output>
<wsdl:fault name="ServiceError">
<soap:fault name="ServiceError" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ServiceService">
<wsdl:port name="ServicePort" binding="tns:ServiceBinding">
<soap:address location="https://ws.[redacted].com/service"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Is there anything in this WSDL that SSIS does not support? Or am I just missing something simple? Thanks.
Hi, you may want to walk through the following threads:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/01/28/consuming-web-services-in-ssis-script-task.aspx
http://stackoverflow.com/questions/21596429/using-https-wsdl-in-visual-studio-ssis
http://www.bidn.com/blogs/BillBrannen/bidn-blog/619/ssis-web-service-task-step-by-step
Regards, Leo
Similar Messages
-
How can I input read a line from a file and output it into the screen?
How can I input read a line from a file and output it into the screen?
If I have a file contains html code and I only want the URL, for example, www24.brinkster.com how can I read that into the buffer and write the output into the screen that using Java?
Any help will be appreciate!
======START FILE default.html ========
<html>
<body>
<br><br>
<center>
<font size=4 face=arial color=#336699>
<b>Welcome to a DerekTran's Website!</b><br>
Underconstructions.... <br>
</font> </center>
<font size=3 face=arial color=black> <br>
Hello,<br>
<br>
I've been using the PWS to run the website on NT workstation 4.0. It was working
fine. <br>
The URL should be as below: <br>
http://127.0.0.1/index.htm or http://localhost/index.htm
<p>And suddently, it stops working, it can't find the connection. I tried to figure
out what's going on, but still <font color="#FF0000">NO CLUES</font>. Does anyone
know what's going on? Please see the link for more.... I believe that I setup
everything correctly and the bugs still flying in the server.... <br>
Thank you for your help.</P>
</font>
<p><font size=3 face=arial color=black>PeerWebServer.doc
<br>
<p><font size=3 face=arial color=black>CannotFindServer.doc
<br>
<p><font size=3 face=arial color=black>HOSTS file is not found
<br>
<p><font size=3 face=arial color=black>LMHOSTS file
<br>
<p><font size=3 face=arial color=black>How to Setup PWS on NT
<BR>
<p><font size=3 face=arial color=black>Issdmin doc</BR>
Please be patient while the document is download....</font>
<font size=3 face=arial color=black><br>If you have any ideas please drop me a
few words at [email protected] </font><br>
<br>
<br>
</p>
<p><!--#include file="Hits.asp"--> </p>
</body>
</html>
========= END OF FILE ===============Hi!
This is a possible solution to your problem.
import java.io.*;
class AddressExtractor {
public static void main(String args[]) throws IOException{
//retrieve the commandline parameters
String fileName = "default.html";
if (args.length != 0) fileName =args[0];
else {
System.out.println("Usage : java AddressExtractor <htmlfile>");
System.exit(0);
BufferedReader in = new BufferedReader(new FileReader(new File(fileName)));
StreamTokenizer st = new StreamTokenizer(in);
st.lowerCaseMode(true);
st.wordChars('/','/'); //include '/' chars as part of token
st.wordChars(':',':'); //include ':' chars as part of token
st.quoteChar('\"'); //set the " quote char
int i;
while (st.ttype != StreamTokenizer.TT_EOF) {
i = st.nextToken();
if (st.ttype == StreamTokenizer.TT_WORD) {
if (st.sval.equals("href")) {
i = st.nextToken(); //the next token (assumed) is the '=' sign
i = st.nextToken(); //then after it is the href value.
getURL(st.sval); //retrieve address
in.close();
static void getURL(String s) {
//Check string if it has http:// and truncate if it does
if (s.indexOf("http://") > -1) {
s = s.substring(s.indexOf("http://") + 7, s.length());
//check if not mailto: do not print otherwise
if (s.indexOf("mailto:") != -1) return;
//printout anything after http:// and the next '/'
//if no '/' then print all
if (s.indexOf('/') > -1) {
System.out.println(s.substring(0, s.indexOf('/')));
} else System.out.println(s);
}Hope this helps. I used static methods instead of encapsulating everyting into a class. -
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 -
Hi
is it possible to call any method with in the class except handle method from jsp file?You can call , but it would not be a good design approach.A droplet can do the same task for you.
otherwise :
eg :
<%@ page import="com.mypackage.MyClass"%>
for Static access :
<%
String test= MyClass.myMethod();
%>
for normal classes :
<%
MyClass object = new MyClass();
String test= object .myMethod();
%>
http://stackoverflow.com/questions/10918526/call-java-method-in-jsp-file
http://www.javaworld.com/javaworld/jw-05-2003/jw-0523-calltag.html?page=2
```
Praveer
Edited by: Praveer Rai on Mar 26, 2013 5:08 PM -
Not able to extract performance data from .ETL file using xperf commands.
Xperf Commands:
xperf –i C:\TempFolder\Test.etl -o C:\TempFolder\BootData.csv –a process
Getting following error after executing above command:
"33288636 Events were lost
in this trace.
Data may be unreliable
This is usually caused
by insufficient disk bandwidth for ETW lo
gging.
Please try increasing the minimum
and maximum number of buffers
and/or
the buffer size.
Doubling these values would be a good first at
tempt.
Please note, though, that
this action increases the amount of me
mory
reserved
for ETW buffers, increasing memory pressure on your sce
nario.
See "xperf -help start"
for the associated command line options."
I changed page size file but its does not work for me.
Any one have idea, how to solve this problem and extract ETL file data.I want to mention one point here. I have total 4 machines out of these 3 machines above
commands working properly. Only one machine has this problem.<o:p></o:p>
Hi,
I consider that you can try to use xperf to collect the trace etl file and see if it can be extracted on this computer:
Refer to following articles:
start
http://msdn.microsoft.com/en-us/library/windows/hardware/hh162977.aspx
Using Xperf to take a Trace (updated)
http://blogs.msdn.com/b/pigscanfly/archive/2008/02/16/using-xperf-to-take-a-trace.aspx
Kate Li
TechNet Community Support -
Calling a method from another file
This is pretty basic stuff but i can't seem to get it right. I am calling a method from another file. The other file IS located in the same folder BUT when i compile i get errors
"cannot find symbol" <===referring to limit and sieve i believe.
The method name is "sieve" the file name is "PrimeSieve2008" and "limit" is the variable in brackets in the real method.
public static void main (String [] args) {
final int [] PRIMES;
int sieve = PrimeSieve2008.sieve(limit);
PRIMES = sieve(getValidInt());
for (int j = 0; j<PRIMES.length; j++) {
System.out.println("Prime[" + j + "] = " + PRIMES[j]);
Is "int sieve = PrimeSieve2008.sieve(limit)" the wrong way to call a file?
Thanks a million,
Alex
Edited by: Simplistic2099 on Apr 3, 2008 7:47 PM
Edited by: Simplistic2099 on Apr 3, 2008 7:49 PMSimplistic2099 wrote:
the other method runs fine:
"public static int[] sieve(final int limit){
int candidate; // possible prime
int count; // no. of primes found
boolean[] mayBePrime = new boolean[limit+1];
// remaining possibilities
final int[] PRIMES; // array to return
// initialize mayBePrime
for ( int j = 0 ; j <= limit ; j++ ) {
mayBePrime[j] = true;
mayBePrime[0] = mayBePrime[1] = false;
// apply sieve, and count primes
candidate = 2;
count = 0;
while ( candidate <= limit ) {
if ( mayBePrime[candidate] ) {
count++;
for ( int j = 2 * candidate ; j <= limit ; j += candidate ) {
mayBePrime[j] = false;
} // end for
} // end if
candidate++;
} // end while
// fill up new array with the primes found
PRIMES = new int[count];
count = 0;
for (int j = 2 ; j <= limit ; j++ ) {
if ( mayBePrime[j] ) {
PRIMES[count] = j;
count++;
} // end if
} // for
return PRIMES;
} // sieve
I really am clueless here.in this one you are passing in limit.
in the other one you are getting limit from somewhere outside of main. -
Hi expert,
i am getting below error in goldengate due to mount point full and i released the space and still the same error for all gg processes. i can see the *cpe cpr file become 0 bytes. so i deleted and re added the extract and repliacat and while adding the replcat i used add replicat checkpoint table because of that multiple entries of same replicat came in checkpoint table . my checkpoint details also present in ./GLOBALS. now my doubt is if add replicate with mentioning checkpoint table name will duplicate entry will be created or what is the work around for this.
MANAGER RUNNING
Invalid checkpoint for EXTRACT qqqq (error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXX)
Invalid checkpoint for EXTRACT qqq(error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXXX)
Invalid checkpoint for REPLICAT qqq (error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXXXX)Hi Kariyath
Increase the page size of your windows machine.Check for the recommanded page size.Remember that the recommanded page size should be the lower limit.If you have any issue feel free to ask.Your prob will be solved
Award suitable points -
Problem in client generation from wsdl file
Hi i am trying to generate client from a wsdl file through apache cxf framework, but it throws WSDLRefValidator error.
Here is the error statment:
Oct 11, 2012 11:51:33 AM org.apache.cxf.tools.validator.internal.WSDLRefValidator collectValidationPoints
WARNING: WSDL document file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl does not define any services
WSDLToJava Error:
line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
org.apache.cxf.tools.common.ToolException:
line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:203)
at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:119)
at org.apache.cxf.tools.validator.internal.SchemaValidator.isValid(SchemaValidator.java:103)
at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:157)
at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:204)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:182)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:142)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:300)
The excerpt from wsdl file is provided below:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="PlmWebserviceImportGcas.wsdl" targetNamespace="D:/webservice">
<wsdl:types>
<xsd:schema xmlns="http://www.pg.com/css/webservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.pg.com/css/webservice">
*<WL5G3N0:definitions xmlns="" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:WL5G3N2="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:WL5G3N3="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:WL5G3N4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:WL5G3N5="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:WL5G3N6="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:WL5G3N7="http://www.pg.com/WS/FormulaHubWS" xmlns:WL5G3N8="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.pg.com/WS/FormulaHubWS">*
<WL5G3N0:types>
<xsd:schema xmlns="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:CSS_SubmitFormulaOutput.xsd="http://pg.com/Inputs/CSS_SubmitFormulaOutput" xmlns:ns2="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:ns3="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:ns4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:ns5="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:ns6="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:ns7="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.pg.com/WS/FormulaHubWS" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput">
<xsd:import namespace="http://pg.com/Inputs/CSS_SubmitFormulaOutput"/>
<xsd:element name="SubmitFormulatoCSSOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="CSS_SubmitFormulaOutput.xsd:SubmitFormulatoCSS_Output"/>
It seems to be problem with tag WL5G3NO declaration.
Can anyone suggest how to rectify this?
ThanksHave you tried pulling the schema out of the wsdl and putting it in a xsd file and see if it validates?
Otherwise, have you tried removing the xmlns:"" from <WL5G3N0:definitions xmlns:"".
Edited by: C.Stodden on Oct 11, 2012 8:52 AM -
XMLBean generation from WSDL file
I have used workshop for weblogic 9.2 to generate web service from wsdl files. The problem is however, that the (XmlBean) code generated from the <wsdl:fault name="..... /> does not genetate a "Throwable" object. The resulting methods produced by the Web Services -> Generate Web Service... menu option produces code that cannot be compiled, because the (generated) throws clause uses an object that is not derived from Throwable.
Has anyone else had these symptoms? is there a fix?
Thanks
AlanHave you tried pulling the schema out of the wsdl and putting it in a xsd file and see if it validates?
Otherwise, have you tried removing the xmlns:"" from <WL5G3N0:definitions xmlns:"".
Edited by: C.Stodden on Oct 11, 2012 8:52 AM -
Error while generating java client code from wsdl file
I am trying to generate a java client code from WSDL file um_workflowSaveCreateProfile.wsdl which includes um_workflowSaveCreateProfile_interface.wsdl file, so I am keeping both the files in the same folder and trying to generate the client code but it is showing me the below error highlighted .
um_workflowSaveCreateProfile.wsdl
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="E:/DIPPWF/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:obinterface="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile">
<import namespace="D:/DIPP/WSDL/um_workflowSaveCreateProfile_interface" location="um_workflowSaveCreateProfile_interface.wsdl"/>
<service name="OblixIDXML_um_workflowSaveCreateProfile_Service">
<port name="OblixIDXML_um_workflowSaveCreateProfile_Port" binding="obinterface:OblixIDXML_um_workflowSaveCreateProfile_Binding">
<soap:address location="http://localhost:7777/identity/oblix/apps/userservcenter/bin/userservcenter.cgi"/>
</port>
</service>
</definitions>
um_workflowSaveCreateProfile_interface.wsdl
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:oblixxmllocalschema="http://www.oblix.com/OblixXMLLocalSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface">
<types>
<xsd:schema targetNamespace="http://www.oblix.com/" elementFormDefault="qualified"
xmlns="http://www.oblix.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="../XMLSchema/common_parameters.xsd" />
<xsd:include schemaLocation="../XMLSchema/common_authentication.xsd" />
<xsd:include schemaLocation="../XMLSchema/workflowSaveCreateProfile.xsd" />
</xsd:schema>
<xsd:schema targetNamespace="http://www.oblix.com/OblixXMLLocalSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="params">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="oblix:ObWorkflowName"/>
<xsd:element ref="oblix:ObDomainName"/>
<xsd:element ref="oblix:ObWfComment" minOccurs="0"/>
<xsd:element ref="oblix:noOfFields"/>
<xsd:element ref="oblix:AttributeParams"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:string" use="optional"/>
<xsd:attribute name="application" type="xsd:string" use="required" />
<xsd:attribute name="function" type="xsd:string" use="required" />
<xsd:attribute name="mode" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="OblixIDXMLInput">
<part name="authentication" element="oblix:authentication"/>
<part name="request" element="oblixxmllocalschema:request"/>
</message>
<message name="OblixIDXMLOutput">
<part name="body" element="oblix:Oblix"/>
</message>
<portType name="OblixIDXMLPortType">
<operation name="OblixIDXML_um_workflowSaveCreateProfile">
<input message="tns:OblixIDXMLInput"/>
<output message="tns:OblixIDXMLOutput"/>
</operation>
</portType>
<binding name="OblixIDXML_um_workflowSaveCreateProfile_Binding" type="tns:OblixIDXMLPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="OblixIDXML_um_workflowSaveCreateProfile">
<soap:operation soapAction="http://www.oblix.com/"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
</definitions>
I am using WSDL2 Java for generating the client code .
Please suggest where am I wrong .
E:\axis2-1.4\bin>WSDL2Java -uri E:\DIPPWF\um_workflowSaveCreateProfile.wsdl -p R
ND -d adb -s -o build\client--http-proxy-host 10.74.93.35 --http-proxy-port 80
Using AXIS2_HOME: E:\axis2-1.4
Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_02
Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
owSaveCreateProfile.xsd'.
Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
rkflowSaveCreateProfile.xsd'.
Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
ma/workflowSaveCreateProfile.xsd'.
Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
omponent_basic.xsd'.
Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
nt_basic.xsd'.
Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
F/XMLSchema/workflowSaveCreateProfile.xsd'.
Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
owSaveCreateProfile.xsd'.
Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
rkflowSaveCreateProfile.xsd'.
Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
ma/workflowSaveCreateProfile.xsd'.
Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
omponent_basic.xsd'.
Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
nt_basic.xsd'.
Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
F/XMLSchema/workflowSaveCreateProfile.xsd'.
*[ERROR] More than one part for message OblixIDXMLInput*
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
More than one part for message OblixIDXMLInput
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
ence(WSDL11ToAxisServiceBuilder.java:1162)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
ence(WSDL11ToAxisServiceBuilder.java:1085)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
ng(WSDL11ToAxisServiceBuilder.java:686)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
int(WSDL11ToAxisServiceBuilder.java:538)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
ints(WSDL11ToAxisServiceBuilder.java:489)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:363)
at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:107)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:147)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:153)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.AxisFault: More than one part for message OblixIDXML
Input
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:397)
at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:107)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:147)
... 2 more
Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
gException: More than one part for message OblixIDXMLInput
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
ence(WSDL11ToAxisServiceBuilder.java:1162)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
ence(WSDL11ToAxisServiceBuilder.java:1085)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
ng(WSDL11ToAxisServiceBuilder.java:686)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
int(WSDL11ToAxisServiceBuilder.java:538)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
ints(WSDL11ToAxisServiceBuilder.java:489)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:363).
Thanks in advance.
akshayHello,
Were you able to resolve this issue ?
I am seeing the same issue and at my wits end.
regards
Amit -
Calling https web service POST method from ABAP
Hi all,
I'm having some problems trying to call a credit card https web service from ABAP on 2004s SP11. I'm not using a proxy server and a call from a test https page on my local machine works fine. The page does not require a certificate.
Do I need to do anything in particular to make https work ? I've done calls to http services without any problems. The only difference from a programming perspective as far as I know is the scheme 2 instead of 1, and the server protocol changed to HTTPS.
All is fine until I call method http_client->receive, at that point I get a return code of 1, http_communication_failure.
Your suggestions & contributions will be greatly appreciated.
Cheers,
Wouter.
report zcreditcardtest .
data: wf_user type string .
data: wf_password type string .
data: rlength type i,
txlen type string .
data: http_client type ref to if_http_client .
data: wf_string type string .
data: wf_string1 type string .
data: wf_proxy type string ,
wf_port type string .
selection-screen: begin of block a with frame .
parameters: crcard(16) type c lower case default '4242424242424242',
cvn(4) type c lower case default '564',
year(2) type c lower case default '07',
month(2) type c lower case default '11',
amount(10) type c lower case default '100.00',
cukey(4) type c lower case default 'AUD',
order(10) type c lower case default 'AB1322-refund'.
selection-screen skip 1.
parameters: user(50) lower case,
password(50) lower case ,
p_proxy(100) lower case default '' ,
p_port(4) default ''.
selection-screen: end of block a .
at selection-screen output.
loop at screen.
if screen-name = 'PASSWORD'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
start-of-selection .
clear wf_string .
concatenate
'order.type=capture&customer.username=SOMEUSER'
'&customer.password=SOMEPASSWORD'
'&customer.merchant=SOMEMERCHANT'
'&card.PAN=' crcard
'&card.CVN=' cvn
'&card.expiryYear=' year
'&card.expiryMonth=' month
'&order.amount=' amount
'&customer.orderNumber=' order
'&card.currency=' cukey
'&order.ECI=IVR'
'&customer.captureOrderNumber=' order
'&order.priority=1'
'&message.end=null'
into wf_string .
break-point.
clear :rlength , txlen .
rlength = strlen( wf_string ) .
move: rlength to txlen .
clear: wf_proxy, wf_port .
move: p_proxy to wf_proxy ,
p_port to wf_port .
call method cl_http_client=>create
exporting
host = 'api.somewhere.com'
service = '80'
scheme = '2' "https
proxy_host = wf_proxy
proxy_service = wf_port
importing
client = http_client.
http_client->propertytype_logon_popup = http_client->co_disabled.
wf_user = user .
wf_password = password .
* proxy server authentication
call method http_client->authenticate
exporting
proxy_authentication = 'X'
username = wf_user
password = wf_password.
call method http_client->request->set_header_field
exporting
name = '~request_method'
value = 'POST'.
call method http_client->request->set_header_field
exporting
name = '~server_protocol'
value = 'HTTPS/1.0'.
call method http_client->request->set_header_field
exporting
name = '~request_uri'
value = '/post/CreditCardAPIReceiver'.
call method http_client->request->set_header_field
exporting
name = 'Content-Type'
value = 'application/x-www-form-urlencoded; charset=UTF-8'.
call method http_client->request->set_header_field
exporting
name = 'Content-Length'
value = txlen.
call method http_client->request->set_header_field
exporting
name = 'HOST'
value = 'api.somewhere.com:80'.
call method http_client->request->set_cdata
exporting
data = wf_string
offset = 0
length = rlength.
call method http_client->send
exceptions
http_communication_failure = 1
http_invalid_state = 2.
call method http_client->receive
exceptions
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
if sy-subrc <> 0.
message e000(oo) with 'Processing failed !'.
endif.
clear wf_string1 .
wf_string1 = http_client->response->get_cdata( ).
* Further Processing of returned values would go here.Well, finally got this running !
First of all I needed to download SAP Cryptographic Software and install it on the Web Application Server. Added some parameters to the profile, then set up some nodes in strust. Note 510007 describes the full process.
I then installed the certifcate I needed by opening the website in internet explorer and exporting it to a CER file and then importing it into the SSL client (Anonymous). The blog from Thomas Yung, "BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP" describes the process of exporting and importing certificates.
I then had to start the HTTPS service on my NW 2004s ABAP preview edition SP11. I set this up for port 443.
/osmicm --> GOTO --> SERVICES --> SERVICE --> CREATE
Then finally, the program needed a few changes :
call method cl_http_client=>create
exporting
host = 'api.somewhere.com'
service = '443' " <<----- 443 NOT 80
scheme = '2' "https
ssl_id = 'ANONYM' " <<----- SSL_ID Added
proxy_host = wf_proxy
proxy_service = wf_port
importing
client = http_client.
and further in the program (thanks Andrew !) :
call method http_client->request->set_header_field
exporting
* name = '~server_protocol' " <<<--- DELETE
name = '~request_protocol' " <<<-- INSERT must be request
value = 'HTTPS/1.0'.
and presto, we can now consume a https webservice via a POST method from within an ABAP program ! Nice.... Can I give myself 10 points ? -
Tx2510us - Fingerprint Reader Not Detected after Service Pack 1 for Windows 7 installed
Have had Windows 7 32-Bit installed and running fine since early last year.. Today Windows Update installed Service Pack 1.
Now, the fingerprint reader (AuthenTec AES1610) is not detected. Digital Persona reported the fingerprint reader isn't connected and the Device Manager shows installed and working properly.. When the computer boots, the logon screen shows not detected..
Have seen several older posts that reference a page with a fix for AuthenTec/Digital Persona, but get a 403 error when trying to access..
Hoping someone still has this info, or possibly there's a new fix to work with Service Pack 1..
Thanks
~~~~ Nothings forgotten. Nothing is ever forgotten. ~~~~Followed the given advice: installed SP1 again, ran Firefox in safemode, disabled other running programs as mutorrent, still Firefox didnt work. I had internetconnection (after restarting mutorrent this did work, the app telling me what the weather outside is worked) but no Firefox: as previous time I got the start screen, but could not browse the internet.
I also tried to start the Internet Explorer and it also looked as if that application had problems (but that can also be because I did not use it for a while - old version or whatever - and it is not my standard browser).
Have again performed a roll back in order to remove SP1, now Firefox works again.
If somebody has advice it would be very welcome! -
Invoking a method in WSDL file from client class
Hi,
I have got a WSDL file and I have to invoke certian methods from a client class from the WSDL file. What exactly should I do to invoke them from a Java standalone program /servlet/JSP. There is a sayHello() method in the WSDL. Please tell me how to invoke that method from client side. Aslo please let me know the jar files that are needed.
Below is the WSDL file
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://tutorial.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://tutorial.com" xmlns:intf="http://tutorial.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2.1Built on Jun 14, 2005 (09:15:57 EDT)-->
<wsdl:message name="sayHelloResponse">
</wsdl:message>
<wsdl:message name="sayHelloResponse1">
<wsdl:part name="sayHelloReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="addRequest">
<wsdl:part name="a" type="xsd:int"/>
<wsdl:part name="b" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="sayHelloRequest">
</wsdl:message>
<wsdl:message name="addResponse">
<wsdl:part name="addReturn" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="sayHelloRequest1">
<wsdl:part name="name" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="Hello">
<wsdl:operation name="sayHello">
<wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest"/>
<wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse"/>
</wsdl:operation>
<wsdl:operation name="sayHello" parameterOrder="name">
<wsdl:input message="impl:sayHelloRequest1" name="sayHelloRequest1"/>
<wsdl:output message="impl:sayHelloResponse1" name="sayHelloResponse1"/>
</wsdl:operation>
<wsdl:operation name="add" parameterOrder="a b">
<wsdl:input message="impl:addRequest" name="addRequest"/>
<wsdl:output message="impl:addResponse" name="addResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloSoapBinding" type="impl:Hello">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayHelloRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="sayHelloResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayHelloRequest1">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="sayHelloResponse1">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="add">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="addRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="addResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloService">
<wsdl:port binding="impl:HelloSoapBinding" name="Hello">
<wsdlsoap:address location="http://localhost/WebService1/services/Hello"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks in advance
PrashanthHi.
Please put this line in the google search engine "Invoking java web service" u will get lots of the links.
Sanjay Kumar Gupta
[email protected] -
Messages not adviced in extern definition after import wsdl-file from WAS
Hi friends,
after importing the three wsld-files in repository (extern definitions) the messages are not adviced. The referendes to the files are fine, because the name is shown at the tab externe...
But i´m not shure wheather i tool the right link ant Web Service Navigator. It is right to download the default SAP WSDL Files or the default one? Because in the SAP WSDL-files there will be an exception during import in XI repository (tag sap:useFeatur). What is the problem that the messages are not shown on the tab messages in externe definitions?
Thanks in advance,
FrankI've the same problem. Here is my WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns:intf="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="blablabla.de" xmlns:tns2="http://net.jboss.org/jmx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="blablabla.de" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MSOBean">
<sequence>
<element name="installationName" nillable="true" type="xsd:string"/>
<element name="requestId" nillable="true" type="xsd:string"/>
<element name="returnCode" type="xsd:int"/>
<element name="returnMessage" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="MSIBean">
<sequence>
<element name="password" nillable="true" type="xsd:string"/>
<element name="project" nillable="true" type="xsd:string"/>
<element name="requestId" nillable="true" type="xsd:string"/>
<element name="userId" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="actualizeRequest">
<wsdl:part name="inData" type="tns1:MSIBean"/>
</wsdl:message>
<wsdl:message name="actualizeResponse">
<wsdl:part name="actualizeReturn" type="tns1:MSOBean"/>
</wsdl:message>
<wsdl:portType name="MSService">
<wsdl:operation name="actualize" parameterOrder="inData">
<wsdl:input message="impl:actualizeRequest" name="actualizeRequest"/>
<wsdl:output message="impl:actualizeResponse" name="actualizeResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MyServicesSoapBinding" type="impl:MSService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="actualize">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="actualizeRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://blablabla.de" use="encoded"/>
</wsdl:input>
<wsdl:output name="actualizeResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://blablabla.de:8080/jboss-net/services/MyServices" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MSServiceService">
<wsdl:port binding="impl:MyServicesSoapBinding" name="MyServices">
<wsdlsoap:address location="http://blablabla.de:8080/jboss-net/services/MyServices"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
No Idea. -
Not uploading more than 150 rows from Excel file to Internal table.
Hi All,
We have a Z program to upload initial stock from excel file to SAP using BAPI. The problem is we have defined row to '65536'. But it is not uploading more than 150 rows at a time. The piece of code is given below.
DATA : it_excel LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
DATA: xcel TYPE TABLE OF alsmex_tabline WITH HEADER LINE.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '3',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
PERFORM upload_excel_file TABLES gt_out
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
FORM upload_excel_file TABLES gt_out
"Insert correct name for <...>
USING p_p_file
p_gd_scol
p_gd_srow
p_gd_ecol
p_gd_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
DATA : ld_index TYPE i.
FIELD-SYMBOLS: <fs> TYPE ANY.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_p_file
i_begin_col = p_gd_scol
i_begin_row = p_gd_srow
i_end_col = p_gd_ecol
i_end_row = p_gd_erow
TABLES
intern = lt_intern[].
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE gt_out TO <fs>.
MOVE lt_intern-value TO <fs>.
AT END OF row.
APPEND gt_out.
CLEAR gt_out.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM.
Plz tell me, what is the problem here. I want to upload all the rows at a time.
Thanks,
With regards,
Rosaline.Hi Rob, I confirm, you're nitpicking! :-D For information, I've noted a few SAP comments about releasing and released objects, for people who like reading: [SAP Library - Documenting and Releasing a Function Module|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801f50454211d189710000e8322d00/frameset.htm], [Note 109533 - Use of SAP function modules|https://service.sap.com/sap/support/notes/109533], [Note 415983 - Modification/customer developments of SAP function modules|https://service.sap.com/sap/support/notes/415983]; Example of an unreleased BAPI -> [Note 577453 - Using BAPI BAPI_DELIVERYPROCESSING_EXEC|https://service.sap.com/sap/support/notes/577453]
Sandra
Maybe you are looking for
-
NO PARA ENCONTRAR MI IPHONE ILCOUD.COM Y QUÉ HACE CLARO , PERO MI TELÉFONO Y UN Se complace PERO NO ENCONTRAR MANERA PARA ACTIVAR , PUEDE ALGUIEN DECIR ME LO QUE TENGO QUE HACER
-
I have just realized I have an issue with my MBPro and iTunes. Music album art is fine, but with Movies and TV shows almost all are missing their cover art place holder images. Many of these were purchased from the iTunes store. These poster images a
-
The XI does not send messages with correct IDOC structure
SAP XI 3.0 sends to ECC IDOC HRMD_A07 The XI does not send messages with correct IDOC structure. In XI Design, Software Component RHEVOLU, Ive imported the Objects HRMD_A.HRMD_A07 from SAP ECC; In Tools -> Export Reduced XSD, I saved HRMD_A.HRMD_A0
-
Advantage and diff btw Business service n business system
hi, can anyone tell me the relevance n usage and importance of business system and business service, mean when do business service and business systems comes into picture respectively, thanks, pratibha
-
Please rank in terms of file transfer speed between FW800 external HDs
Hello, I have two triple interface (FW400/FW800/USB2) 1000GB external hard drives. My 17inch Macbook Pro has 1xFW800 and 1xFW400. Please rank the following in terms of speed of transferring files directly between the external hard discs: 1. Connect o