Where is the SOAP Method in XI generated WSDL?
Hi Experts,
I have generated a WSDL from XI for the outbound interface. The web application developer is using this WSDL to send a SOAP request from the web application, but he is not finding a SOAPMethod in the WSDL. Could someone please tell how the XI generated WSDL is to be used from a web application?
Thanks,
Shobhit
Thanks Prateek, but could you send me some document / link on how to send a SOAP request to an XI generated webservice. Is it in any ways different to a regular webservice deployed on a http server.
We are trying to send a SOAP request using a .Net based application. Any clues / leads on how to send the request using the XI generated WSDL.
Appreciate your help.
Thanks,
Shobhit
p.s. i have the following in my WSDL:
<wsdl:binding name="OB_NP_WorkOrderDetails_MIBinding" type="p1:OB_NP_WorkOrderDetails_MI"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<wsdl:operation name="OB_NP_WorkOrderDetails_MI">
<soap:operation soapAction="http://sap.com/xi/WebService/soap1.1"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<wsdl:input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
Edited by: Shobhit Swarup Mathur on Aug 4, 2008 10:51 AM
Similar Messages
-
Where are the video tutorials I saw generated from the PhotoShop CS.5 Installation Disc? How to work on a face, New to CS5, How to strip in a background? etc. Very helpful. Want to get started here.
Thank you Curt Y. You're right. They're there. The tutorials are so smart. Don't know why they didn't download. With video tutorials "Live time" experts fumble themselves giving a perfect means for the user to absorb the "logic" of how the PhotoShop function thinks. There's no other way. Only a robot can, wants to, is motivated by boring line by line written description. I rather eat gravel than try and follow "line by line." line-by-line = ZZZZZZZZZZZZ. Have a great holiday season, whereever you are, whatever you celebrate. Trexlorx.
-
Where is the "set" method for this ELEMENT?
Hi
I'm trying to understand the relationship between the DTD and XJS, and the JAXB generated code.
Consider the example DTD, XJS, and generated source code (i.e., "value07.java") for ELEMENT value07, below ...
QUESTION#1: Why is there no "set" method generated for ELEMENT "value07a" within the generated value07.java ???
QUESTION#2: How to I code the DTD/XJS in order to force the generation of a "set" method in value07.java???.
-- I want to be able to set a new value for ELEMENT "value07a" in order to generate an XML document containing the new value!!
(NOTE: the reason that ELEMENT value07 (as well as other ELEMENTs) has only a single subelement, is in order to satisfy the XSLT definition in a preexisting application.)
* * * this is the DTD* * *
<!ELEMENT request (value01,value02,value03,value04,value05?,value06?,value07?,value08?,value09?,value10?,value11?,value12?,value13?,value14?,value15?,value16?,value17?,value18?)>
<!ELEMENT value01 (#PCDATA)>
<!ELEMENT value02 (#PCDATA)>
<!ELEMENT value03 (#PCDATA)>
<!ELEMENT value04 (value04a, value04b?)>
<!ELEMENT value04a (#PCDATA)>
<!ELEMENT value04b (#PCDATA)>
<!ELEMENT value05 (value05a, value05b?)>
<!ELEMENT value05a (#PCDATA)>
<!ELEMENT value05b (#PCDATA)>
<!ELEMENT value06 (value06a+)>
<!ELEMENT value06a (#PCDATA)>
<!ELEMENT value07 (value07a+)>
<!ELEMENT value07a (#PCDATA)>
<!ELEMENT value08 (value08a+)>
<!ELEMENT value08a (#PCDATA)>
<!ELEMENT value09 (value09a+)>
<!ELEMENT value09a (#PCDATA)>
<!ELEMENT value10 (value10a+)>
<!ELEMENT value10a (#PCDATA)>
<!ELEMENT value11 (value11a+)>
<!ELEMENT value11a (#PCDATA)>
<!ELEMENT value12 (value12a+)>
<!ELEMENT value12a (#PCDATA)>
<!ELEMENT value13 (value13a+)>
<!ELEMENT value13a (#PCDATA)>
<!ELEMENT value14 (value14a+)>
<!ELEMENT value14a (#PCDATA)>
<!ELEMENT value15 (value15a+)>
<!ELEMENT value15a (#PCDATA)>
<!ELEMENT value16 (value16a+)>
<!ELEMENT value16a (#PCDATA)>
<!ELEMENT value17 (value17a+)>
<!ELEMENT value17a (#PCDATA)>
<!ELEMENT value18 (value18a+)>
<!ELEMENT value18a (#PCDATA)>
* * * this is the XJS * * *
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE xml-java-binding-schema SYSTEM "http://java.sun.com/dtd/jaxb/1.0-ea/xjs.dtd">
<xml-java-binding-schema version="1.0-ea">
<options package="testSourceCode"/>
<element name="request" type="class" root="true"/>
<element name="value01" type="value"/>
<element name="value02" type="value"/>
<element name="value03" type="value"/>
<element name="value04" type="class">
<content>
<element-ref name="value04a" />
<element-ref name="value04b" />
</content>
</element>
<element name="value05" type="class">
<content>
<element-ref name="value05a" />
<element-ref name="value05b" />
</content>
</element>
<element name="value06" type="class">
<content>
<element-ref name="value06a" />
</content>
</element>
<element name="value07" type="class">
<content>
<element-ref name="value07a" />
</content>
</element>
<element name="value08" type="class">
<content>
<element-ref name="value08a" />
</content>
</element>
<element name="value09" type="class">
<content>
<element-ref name="value09a" />
</content>
</element>
<element name="value10" type="class">
<content>
<element-ref name="value10a" />
</content>
</element>
<element name="value11" type="class">
<content>
<element-ref name="value11a" />
</content>
</element>
<element name="value12" type="class">
<content>
<element-ref name="value12a" />
</content>
</element>
<element name="value13" type="class">
<content>
<element-ref name="value13a" />
</content>
</element>
<element name="value14" type="class">
<content>
<element-ref name="value14a" />
</content>
</element>
<element name="value15" type="class">
<content>
<element-ref name="value15a" />
</content>
</element>
<element name="value16" type="class">
<content>
<element-ref name="value16a" />
</content>
</element>
<element name="value17" type="class">
<content>
<element-ref name="value17a" />
</content>
</element>
<element name="value18" type="class">
<content>
<element-ref name="value18a" />
</content>
</element>
</xml-java-binding-schema>
* * * generated sourcecode for ELEMENT "value07"...i.e., "value07.java" * * *
package testSourceCode;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.xml.bind.ConversionException;
import javax.xml.bind.Dispatcher;
import javax.xml.bind.Element;
import javax.xml.bind.InvalidAttributeException;
import javax.xml.bind.InvalidContentObjectException;
import javax.xml.bind.LocalValidationException;
import javax.xml.bind.MarshallableObject;
import javax.xml.bind.Marshaller;
import javax.xml.bind.MissingContentException;
import javax.xml.bind.PredicatedLists;
import javax.xml.bind.PredicatedLists.Predicate;
import javax.xml.bind.StructureValidationException;
import javax.xml.bind.UnmarshalException;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.Validator;
import javax.xml.marshal.XMLScanner;
import javax.xml.marshal.XMLWriter;
public class Value07
extends MarshallableObject
implements Element
private List _Value07A = PredicatedLists.createInvalidating(this, new Value07APredicate(), new ArrayList());
private PredicatedLists.Predicate pred_Value07A = new Value07APredicate();
public List getValue07A() {
return _Value07A;
public void deleteValue07A() {
_Value07A = null;
invalidate();
public void emptyValue07A() {
Value07A = PredicatedLists.createInvalidating(this, predValue07A, new ArrayList());
public void validateThis()
throws LocalValidationException
if (_Value07A == null) {
throw new MissingContentException("value07a");
public void validate(Validator v)
throws StructureValidationException
public void marshal(Marshaller m)
throws IOException
XMLWriter w = m.writer();
w.start("value07");
for (Iterator i = _Value07A.iterator(); i.hasNext(); ) {
w.leaf("value07a", ((String) i.next()).toString());
w.end("value07");
public void unmarshal(Unmarshaller u)
throws UnmarshalException
XMLScanner xs = u.scanner();
Validator v = u.validator();
xs.takeStart("value07");
while (xs.atAttribute()) {
String an = xs.takeAttributeName();
throw new InvalidAttributeException(an);
List l = new ArrayList();
while (xs.atStart()) {
if (xs.atStart("value07a")) {
xs.takeStart("value07a");
String s;
if (xs.atChars(XMLScanner.WS_COLLAPSE)) {
s = xs.takeChars(XMLScanner.WS_COLLAPSE);
} else {
s = "";
String uf;
try {
uf = String.valueOf(s);
} catch (Exception x) {
throw new ConversionException("value07a", x);
l.add(uf);
xs.takeEnd("value07a");
} else {
break;
Value07A = PredicatedLists.createInvalidating(this, predValue07A, l);
xs.takeEnd("value07");
public static Value07 unmarshal(InputStream in)
throws UnmarshalException
return unmarshal(XMLScanner.open(in));
public static Value07 unmarshal(XMLScanner xs)
throws UnmarshalException
return unmarshal(xs, newDispatcher());
public static Value07 unmarshal(XMLScanner xs, Dispatcher d)
throws UnmarshalException
return ((Value07) d.unmarshal(xs, (Value07 .class)));
public boolean equals(Object ob) {
if (this == ob) {
return true;
if (!(ob instanceof Value07)) {
return false;
Value07 tob = ((Value07) ob);
if (_Value07A!= null) {
if (tob._Value07A == null) {
return false;
if (!_Value07A.equals(tob._Value07A)) {
return false;
} else {
if (tob._Value07A!= null) {
return false;
return true;
public int hashCode() {
int h = 0;
h = ((127 *h)+((_Value07A!= null)?_Value07A.hashCode(): 0));
return h;
public String toString() {
StringBuffer sb = new StringBuffer("<<value07");
if (_Value07A!= null) {
sb.append(" value07a=");
sb.append(_Value07A.toString());
sb.append(">>");
return sb.toString();
public static Dispatcher newDispatcher() {
return Request.newDispatcher();
private static class Value07APredicate
implements PredicatedLists.Predicate
public void check(Object ob) {
if (!(ob instanceof String)) {
throw new InvalidContentObjectException(ob, (String.class));I discovered something similar this morning...i.e., for
<element name="value07" type="class">
<content>
<element-ref name="value07a" />
</content>
</element>
-- I did something like this...
Value7 v7 = new Value7();
for (int i=0; i< Value7_input_array.length; i++)
((List)(v7.getValue07A())).add(Value7_input_array);
Thanks for responding, barry! -
Where is the "printf" method?
I have attended to a Sun TechDays lecture showing some new features of J2SDK 1.5 - one of the "hottest things" (hot for the guys with C background...) was the good old "printf" function.
I have downloaded the alpha b31 release. Where is the "printf" function? Is it scheduled to be released in Tiger?
I particularly do not like the "printf" and "scanf" functions, but "promise is debt" (literal translation from the Portuguese).
It is not difficult to write a printf method using the new variance syntax. But the scanf method poses some problems:
char *s = "1000 1.2";
int d; float f;
sscanf (s, "%d %f", &d, &f);
String s = "1000 1.2";
StringReader sr = ...;
___ d = new ___;
___ f = new ___;
sr.scanf ("%d %f", d, f);I can't pass a "Integer" or a "Float" object because they are immutable. If I use the idiom "if you want to pass a int by reference, create a one-element array, pass the array, and get the first element" it will eternize the idiom:
int[] d = new int[1];
float[] f = new float[1];
sr.scanf ("%d %f", d, f);Maybe scanf could return an Object[]. We will have
Object[] o = sr.scanf ("%d %f");
System.out.println (o[0]); //-- the first value
System.out.println (o[1]); //-- the second valueUgly. If Java had tuples:
<d, f> = sr.scanf ("%d %f");
The "principle of minimum astonishment" rules against tuples, although they could be very useful (think the lots of JavaBeans that are created only to return two or three fields...)What about:
Object[] array = new Object[2];
sr.scanf ("%d %f", array);
Integer i = (Integer) array[0];
Float f = (Float) array[0]; -
Where is the Stop method for CWDI?
All the other DMA classes have a Stop mehtod. Why not CWDI?
Hi rcsj1,
The Reset method should be used to stop the digital input. A command to stop but not reset the resources was not explicitly exported to be used with the ActiveX control CWDI. Hope that helps. Have a good day.
Ron -
Where's the clone() method implementation?
this was all i could get from src.jar..
protected native Object clone() throws CloneNotSupportedException;
where is the implementation?
thank youSo the implementation is in some library. And you have already seen the (Java) source. The native code is probably written in C or C++; I don't see any source like that in my Windows SDK so you probably don't have it in yours either.
-
Where are the xml files for code generator of MSAHH5?
I'm generating source files for MSAHH5 and in the source code I can find xml files for generating all entities and DAL for those entities but I can't find anywhere files for MSATableConstants.xsl and MSAPersistanceManager.xsl and if I leave them alone they don't generate any class. I tried all xml in the code-generator folder without luck. What files should I use?
Thanks in advance.Hi,
I will answer your question in 2 parts.
1. Which files are used to generate what?????????
For entities: Entity.xslt+ Entity.xml
For MSATablesContants: MSATableConstants.xslt+
Entity.xml
For MSAPackageManager: MSAPackageManager.xslt+
Entity.xml
For DAL Generation: DAL.xslt+DAL.xml
2. Where these will be generated?????????
It depends on the path of the project that you are giving. If in the code generator tool when u make a new project give the path as the path of your project in eclipse.
Otherwise if you give path as ./ means the current folder from where you r running classgenerator.jar
you have to manually create folders like
C:\classgenerator\com\sap\crm\handheld\db\dataaccess for DAL classes and similarly for entities etc.
Hope this is clear
anubhav -
Where is the dID in Revisions table generated?
Hello everyone. When we check-in a document in UCM, it inserts a row in Revisions table (and also in docMeta and Documents tables) in the database. The primary key for revisions table is dID. Can anyone tell me where is this dID generated. Let's take an example:
I insert a row in revisions table, docMeta and Documents tables manually with dID = X (say). from the front-end i can find the file and everything works fine. However when i check-in a document now it throws an error because it is again trying to insert into the revisions table with dID = X. I tried to find if there is a sequence but apparently it is not using any sequence or at least i couldn't find one.
So how is this dID generated? I would highly appreciate some pointers.
Regards,
Sadik BhimaniAll incrementing identifiers are stores in the Counters database table. UCM read that table for the next ID, then increments the counter. I believe the counter for dID is the dRevClassId counter... although it should be obvious by inspection.
Note: this is not the best way to design an automatically incrementing counter... however the original Stellent product was designed to support databases that do not support automatically incrementing counters. -
Where is the SOAP Payloads of XI Message in host?
Hi to all,
I'm trying to find the XML documents(SOAP Payloads of XI Message) in PI host.
Anybody knows which file include this files?
Look forward your help!
Thanks!Jean ,
Same query came early morning ...
Information is stored in the table SXMSPMAST (or SXMSPMAST2 ).
This will help you : /people/alessandro.guarneri/blog/2008/09/15/xipi-message-payload-from-java
Regards , -
Where is the onAck() method in the ABAP proxy framework?
When working with client proxies there is the possibility of requesting acknowledgements from the receiving party. This will result in a acknowledgement message being sent back after successful delivery (technical acknowledgement) or successful processing of the message.
Java proxies support a callback mechanism by providing an interface com.sap.aii.proxy.xiruntime.ack.AckListenerLocal containing the method.
onAck(com.sap.aii.proxy.xiruntime.ack.AckMessage ack)
An implementation of this interface can be registered to handle the acknowledgment for a specific proxy.
How does this work for ABAP? Is there an ABAP OO interface? Is there a way of registering some handler for acknowledgements by any means?
Thanks for any response on this!That is bitter truth to hear. I do not understand that because it sounds simple and obvious to provide. Thanks anyway Stefan.
If anybody has a good idea how to setup a trigger that will run upon the receipt of an acknowledgement (not with polling) it would be highly appreciated.
Edited by: Jochen Damzog on May 10, 2011 8:51 AM -
Where is the paint method?
The book I have says it's in the JApplet class, but I can't find it there. Thx
Whoops sorry, already found it in the Java.awt.Container class.
-
NI-Device where is the LOCKOUT state
I am using NI-Device on my Windows 2000 system.
Using the class CGpibDevice I arm the method
RemoteLocalCallBack() to be call when going in Remote State. But where is the LockoutCallBack() method, to let me know I am in Lockout state. With the driver NI-488.2 standard software a call to ibwait() gave me the ibsta and the value 0X0080 tell me that I am in Lockout state. I would like to know how can I get the Lockout state with NI-Device?That is a very good question. NI-Device does not have a LockoutCallBack, because we handle the lockout state internally within NI-Device. When your device is in the Lockout state, the ReturntoLocal method will not cause a Remote/Local state change, hence your RemoteLocalCallBack will not be invoked.
-
Hi,
I have the following problem. I have Oracle AS 10.1.3.3 installed and I am trying to generate the WSDL from WSDD file, which is a part of an application deployed on the server. The server was able to generate WSDL for a Hello World WebService, but if I try to use for example my own exceptions extended from Exception, I got the following message:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
java.lang.ClassCastException: com.ibm.wsdl.extensions.soap.SOAPFaultImpl
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ClassCastException: com.ibm.wsdl.extensions.soap.SOAPFaultImpl
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:marvin.ba.dynatech.sk
I am little bit confused, because my previous 10gR2 AS generated WSDL from the same WSDD without any problems.
Can anybody help me?
Thanx
MartinJose, you say you can't find much about Flex calling remote
objects. Really? There are many, many such resources.
But maybe you mean that refer to this badversion error. Doing
a little digging, I see references to issues related to SSL/HTTPS.
Is that a part of what you're doing? Check out these.
http://www.adobeforums.com/webx/.59b4dc44
http://www.nabble.com/SSL-Https-communication-between-swf-and-data-service---life-cycle-is -failed-td18922452.html
Here also is an entry where someone writes about calling a
CFC from Flex, and in a comment he mentions the badversion error.
Though he never mentions resolving it specifically, he seems to
have gotten things working, so maybe among the few things discussed
is a solution for you.
http://www.flashcomguru.com/index.cfm/2006/11/11/flex2remoting
I also see one that suggests that the badversion error is
just a generic error reflecting another problem in the connection.
While it discusses AMFPHP, which is an open alternative to the
FlashRemoting built into CF, it may still offer insight:
http://www.5etdemi.com/blog/archives/2005/06/i-did-it-i-killed-netconnectioncallbadversion
If none of them are it, since it seems maybe you're having
difficulty calling ANY CFC component from AIR/Flex, check out any
of these examples to see if you can get them to run:
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_4.html
http://tutorial519.easycfm.com/
http://www.cftips.net/post.cfm/flex-data-grid-with-coldfusion-flash-remoting-using-cfc
Just be careful as you're looking at resources for Flex
examples: some are for 1.5, some for 2, some for 3.
Hope that helps. -
JAXB is not generating the setter method for my tag
Hi,
I am generating java classes form my .xsd file using JAXB.
The xsd definition has defnes a Form as a sequence of FormElement, where FormElement is a choice of graphical components like text etc. Form can have 0 or unbounded elements of typeFormElement
Example
<xs:element ref="sswfm:FormElement" minOccurs="0" maxOccurs="unbounded"/>
It is creating the getter method for this tag like this-
java.util.List getFormElement();
but does not create setter method, namely, setFormElements which I would like to use when marshalling from swing to XML.
If i remove the maxOccurs="unbounded, it is creating the setter method for this tag.But i want to keep this tag as it it and needs the setter method also.
What should i do? Has one tried this before. HELP if you can
Thank you in advance.Hi RavindraKshirsagar,
We have a problem like you faced. Our requirement is that, we need to generate dynamically the PERSON element in our javabean.
<xs:element name='SERVICE_REQUESTER'>
<xs:complexType>
<xs:sequence>
<xs:element ref='ORGANIZATION' />
<xs:element ref='PERSON' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
</xs:element>For this maxOccurs, as JAXB is not generating any Setter Method. As we need to get data dynamically from external application. If you could help us in handling this case dynamically, it will be well and good.
Please send us the script / code asap. -
I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?
Move iTunes from PC to MAC, http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html
Maybe you are looking for
-
I bought the developer license and Apple have debited my credit card in the amount of $ 99.00. And until now Apple has not sent the confirmation email. Has anyone experienced this? Thanks Junior Santos
-
In wadl2java-generated code, NullPointerException from HttpTransportPipe
I wrote a WADL document and used JAXB schemagen to create an XSD for my Jersey RESTful web-service, and referenced that XSD in that WADL document. Then, I used wadl2java to generate client-code for my service. However, then, I had numerous jar-depend
-
Change the default timeout for Air in Ubuntu?
I found that the default timeout for Air in Ubuntu is by default 30 seconds. I need to change it, but I could not do it. I know that there are some issues relating timeout https://bugs.adobe.com/jira/browse/SDK-22016 https://bugs.adobe.com/jira/brows
-
Hi, I got this warning upon compilation: ========================================== ...javac -Xlint:unchecked MyListOfNumbers.java :10: warning: [unchecked] unchecked conversion found : java.util.Vector required: java.util.Vector<java.lang.String> vi
-
Firefox crashing before it opens
It has been constantly crashing before it even opens. I have been a FF user for years and I would hate to have to go back to IE or Chrome. Crash IDs: Crash ID: bp-0b4b5c20-7572-41ac-833a-a8e4a2130111 Crash ID: bp-2e8a62db-5e74-4379-b475-07dec2130111