SOAP and WSDL help.

I'll try to make this as simple as possible in hope I get a
response. I have a particular web service I need to consume. Using
its WSDL file I have locally, how can I make a direct SOAP call to
it using the actual XML SOAP envelope? It balks when trying to use
cfinvoke with CFinvokearguments, giving me a "method doesn't exit"
error. I figure I can invoke the service somehow using CFHTTP and
using the entire soap envelope to call the web service. Am I
barking up the wrong tree here?
Looking at the actual soap body inside the envelope, Since
its XML there are a number of child tags inside i.e.
<soapenv:Body>
<the_request>
<security_header>
<some_element>whatever</some_element>
<another_element>whatever2</another_element>
</security_header>
<config_header>
<some_configelement>whatever</some_configelement>
<another_configelement>whatever2</another_configelement>
</config_header>
<data>
<some_dataelement>whatever</some_dataelement>
<another_dataelement>whatever2</another_dataelement>
</data>
</the_request>
</soapenv:body>
Thats it, no magic, no soap headers, nothing. Its all
contained within the body. Side note: How does CFinvoke arguments
keep track of what child elements they are under in the call? Any
help would be appreciated..
Thanks! Jeff

I wish I could give more details. Heck, I would post the
entire WSDL and soap call, but I am under NDA with the company that
I am implementing it from. I am also in between a rock and hard
place, because they DO NOT have any coldfusion implementation of
their product and know nothing about the language. So, I am SOL
when I am having problems with consuming their web service.
With that being said, I have used CFINVOKE and CFinvoke
arguement. Odd thing is that when I do and pass the correct
arguments, it tells me that the method doesn't exist. Now, I have
even heard that you must include all optional arguments with some
web services. I tried that too, still it tells me the method I
chose doesn't exist. Very frustrating.
Thats why I thought there might be a way to use the entire
soap envelope against the WSDL to produce a result other than
"method doesn't exist".
Jeff

Similar Messages

  • SOAP and JWS - Help!!

    Hi everyone!!
    I am trying to integrate SOAP and JWS. ie the application being downloaded is a SOAP messaging application. while compiling i have SAAJ api in my classpath. while executing it, i need to have it too in my classpath. before executing the application, if i dont set the classpath, the application doesnt execute. when i do, it works. its ok when i execute the application in the command prompt bcoz i can set classpath again. but issue arises when i run this example using jws. can anybody resolve this issue?
    regards,
    Manyadeveloper

    Hi I've been dealing with this problem for a little while.
    I've got an APP that is dependant on SOAP.JAR. My appp doesn't need to be signed, but SOAP.JAR does.
    Why does it need to be signed?
    I only want to download information from the server where I started my program from. When I leave SOAP.JAR unsigned it tells me I need to input the proxy address and port.
    Any ideas?
    Thanks Martin

  • J2ME and Webservices Help! Please!!!

    Hi guys, I would really like some of you're expert views and experiences with this topic.
    I basically need to access my Oracle database via a PDA or smartphone device.
    From researching the web and other resources, I think that the way to do this is to create a webservice and link it up to my Midlet.
    The only problem is, I do not know how and also, I am unsure of how to use SOAP and WSDL documents, I have read over:
    http://www.javaworld.com/javaworld/jw-08-2002/jw-0823-wireless.html?page=6
    http://developers.sun.com/techtopics/mobility/apis/articles/wsa/
    http://www.java-tips.org/java-me-tips/midp/finding-multimedia-content-type-support-of-a-mobile-d.html
    http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/
    http://developers.sun.com/techtopics/mobility/midp/articles/tutorial2/
    http://developers.sun.com/techtopics/mobility/midp/articles/webservices/
    and I am still confused, I have tried to search for tutorials and also sample programs etc -.- but I haven't got anywhere with this.
    Can anyone please help? I need to know the code in order for my Midlet to link up to the WSDL file or generate it?!? and then, how that will interact with the webservice to send and retrieve data from the database.
    any help or suggestions would be very much appreciated, thanks for reading.

    i dont know if smartticket will help me at all, its using a weblogic server, i need to be running tomcat, any one else? please any suggestions!!?!!?

  • Could someone help me to clearly distinguish between SOAP and HTTP adapter?

    In which scenarios we can go for HTTP adapter and when to go for SOAP adapter?

    Hi Lekshmi !!
    A SOAP message will be bundled inside the soap envelope.HTTP is not an adapter in adapter engine whereas soap is an adapter i.e, HTTP doesn't require a communication channel where as SOAP requires.You can send soap messages using some SOAP client.
    SOAP Adapter is used to xchange SOAP messages bw remote clients and webservices....
    check this link for more differences..
    SOAP and HTTP adapter
    When you need to Send Data to XI from a Webservice , your SOAP adapter is used.
    HTTP adapter is used when you want to post a HTTP request message from a web application to XI.
    How can i make use of SOAP Sender Adapter without using any tools like XML Spy etc....
    XML SPy is used as a TEST tool when you are sending SOAP information to XI. TO actually send data , you need to configure a webservice and construct a SOAP request message and post the data .
    we use SOAP adapter when we need to connect to remote system or use Webservices in these cases we use SOAP adapter.
    HTTP Adapter is used by extenal systems to connect to Intergartin server using native HTTP Interface.
    the http adapter is a service which is directly connected to integration engine. Adapter Framework (Java) isnt involved. It is much more performant than SOAP adapter.
    The SOAP adapter is written in Java and is responsible for the SOAP envelope around the real XML message. You can build/remove that envelope as well in the mapping and use instead http adapter. But standard for webservices is using SOAP adapter.
    Check this thread....
    Difference between SOAP and Http Sender
    HTTP Adatpter Vs Soap Adapter
    HTPP Adatpter Vs Soap Adapter ????
    Difference between SOAP and Http Sender
    Difference between SOAP and Http Sender
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Hope it clears your doubt !!!!
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points </b>
    Thanks,
    Abhishek Agrahari

  • SOAP adapter: WSDL issue

    Hi Experts,
    I am working on File-XI-->Mail scenrio using SOAP adapter. My file contains only one line fields say:
    TATA 407
    I have configered File adapter perfectly and CC of it is showing perferctly green (Data is coming in MONI). On the counter SOAP side, I would like to send this file to the Gmail. But I am not able to do this due to the fact that I am not understanding the WSDL ? I have read several doucments but not one is giving the perfect idea about it.
    Please tell me how to accomplish it. Please avoid to send the links. Please help ASAP.
    -=Soniya=-

    Hi Soniya,
    >>I do agree that Mail adapter can be used in place of SOAP
    No, it's not that.
    SOAP and Mail adapter are two different things. SOAP adapter is used to exchange SOAP messages (do not confuse "message" with "email message") between applications (XI/PI to third pary OR third-party application to XI/PI) using SOAP/HTTP protocol. Whereas Mail adapter is used to send email using IMAP/POP3 protocol.
    >>Somebody is saying that Webservices are the one, where you send your messages either side people are saying.
    Correct. You can configure SOAP adapter as sender in PI and receive SOAP messages in PI sent by some third-party application. OR you can configure SOAP adapter as receiver and post the message form PI to some third-party provided URL.
    For exposing webservice from PI all you need to do is to go to Integration directory. Select the sender aggrement you want to puslish as web service. From TOOLS menu say display WSDL. Save this WSDL and provide it to client/third-party application. They will have to generate the client proxy class and post the message from there to PI.
    For cosuming webservice in PI (posting message from PI), third-party application has to provide you with a URL which you will enter into SOAP receiver type adapter.
    Regards.

  • Creating a single ear file for SOAP plus wsdl architecture

    Hi team,
    We are supporting an application which initially supported only SOAP RPC calls to connect to other applications via webmethods. Recently we have developed another module using .wsdl approach and have deployed this module separately using a separate ear file.
    The details of the application are as below:
    --> Application is developed in J2EE hence a J2EE container is required.
    --> Oracle 10g v9.0.4.1 is being used
    --> for database we have Oracle 9i RDBMS Enterprise Edition v9.2.0.6
    --> The applicationn is developed in the ODC based on Solaris 9 / Oracle 9i and Oracle 10g AS v9.0.4.1.
    --> Application and SOAP are deployed in the same Oracle 10g instance.
    Now that we have 2 ear files deployed on the Oracle OC4J server , we are being pushed by business to deploy a single ear file to implement both the functionalities.
    Please suggest if there are any Possibilities to create a single ear file to deploy such an application supporting both SOAP calls and wsdl approach. If we can, please assist. We do not want to make changes to the existing as-is soap calls and we also want to continue using the new module using the wsdl approach.
    Please also suggest the possibilities of any conflict that could arise as a result of deploying a single ear?
    Note: Incase any other inputs are required from our end, kindly let us know. Thanks
    Regards
    Vtx team
    Edited by: 976223 on Dec 13, 2012 12:58 AM

    Dear experts,
    Please assist. Your suggestions would be very helpful in this regard.
    Thanks

  • Https for SOAP and HTTP Receiver adapters in PI 7.1

    Hi,
    We need HTTPS Transport protocol is required to send the message to receiver systems.
    Currently we are using below procedures for https:
    1)     HTTP with SSL (= HTTPS) without client authentication
    2)      HTTP with SSL (= HTTPS) with client authentication
    But client donu2019t want this procedure.
    Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.

    >>Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.
    What I see is your client wants PI to send communication via HTTPS transport protocol. That means you have to apply for trusted certificate and import that certificate root node in Netweaver keystore.
    Then change the transport protocol from http to https in soap and http receiver communication channel and communicate to client via certificate authentication.
    Plenty of documents available in sdn about https certificate authentication. Please go through those links.
    check this thread.. might be helpful
    Client Certificate for PI authentication when Web Dispatcher terminates SSL

  • Sender SOAP adapter - WSDL not working

    Hi,
    I am doing Sender SOAP and receiver RFC adapter for SOAP-BAPI scenario.The WSDL is generated after IR and ID config.
    URL
    http://host:port/XISOAPAdapter/MessageServlet?Sender.Service=BS_VCT_Sender&Interface=urn:abb-com:vct:sap:ven%5EUSER_MI
    But by testing by XML spy, m getting error -
    com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=null;TS=null;AN=null;ANS=null;
    Can you please let me know wats error in it. I have testing mappings and all is OK. How to test also pls tell me.
    When opening URL in IE, its giving -Message Servlet is in Status OK.
    Pls answer.
    Thanks

    Hi all
    thanks for replies.
    i am testing by xml spy 2009 sp1.
    finally i am using this URLin SAP PI 7.0 :
    *http://host:port/XISOAPAdapter/MessageServlet?senderService=BS_VCT_Sender&interface=USER_MI&receiverParty= &amp;receiverService=Sys_RD2_520&amp;interfaceNamespace=urn:abb-com:vct:sap:ven*
    But problem is i am not allowed to save WSDL file with "&" only , when i am saving file like -> senderService=&interface then its giving WSDL file not well formed. I must use "&amp" in stead of "&" to make it well formed.
    Thus its not identifying -
    Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_VCT_Sender;TS=null;AN=null;ANS=null;
    Any way that &amp; can be avoided in WSDL.

  • Creating WSDD and WSDL file

    I am working on JSR 172,
    I have created a server code, installed Tomcat and Axis.
    Now i want to convert my .java file to .wsdd and .wsdl file the below command are not working plese help.
    java -classpath lib\axis.jar;lib\saaj.jar;lib\jaxrpc.jar;lib\commons-logging-1.0.4.jar; lib\commons-discovery-0.2.jar;lib\wsdl4j-1.5.1.jar;build\classes\.;org.apache.axis.wsdl.Java2WSDL -y DOCUMENT -u LITERAL -l http://localhost:8080/axis/services/ScoreService tutorial.ScoreInterface
    and this produces the below erroe
    Unrecognized option: -y
    Could not create the Java virtual machine.
    Thanks in advance.

    Hi ganesh,
    you have two options to get it working.
    The first one is using a CanonicalEditPolicy, which creates all Nodes and Edges for you based on your semantic model. This is easy to implement, but it has some drawbacks. Your editor will get dirty after opening it, because your Notation Model is changes and no layout information is available.
    The better way is to create Nodes and Edges for each semantic element you created.
    For your code snippet it might look like this:
    XXX model = createInitialModel();
    YYY yyy = XXXFactory.eINSTANCE.createYYY();
    yyy.setAttribute1("2");
    yyy.setAttribute2("name");
    model.getYYYs().add(yyy);
    attachModelToResource(model, modelResource);
    Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    Node yyyView = ViewService.createNode(diagram, yyy, SemanticHints.YYY,
    ,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    //Set some layout information assuming you use a XYLayout
    Bounds bounds = NotationFactory.eINSTANCE.createBounds();
    bounds.setX(70);
    bounds.setY(20);
    yyyView.setLayoutConstraint(bounds);
    Regards,
    Andreas

  • Using SOAP without WSDL?

    Newbie to SOAP and Flex and I have a small pilot project to
    access a company's SOAP 1.1 web services. I am given the sample
    SOAP request/response messages embedded in HTTP. It seems Flex
    requires WSDL file for communication but I don't have it. Do I need
    it to work in Flex, or in general as a matter of fact.
    Thanks.

    Yes. If you do not have it, you cannot:
    -either set up the webservice class
    -or feed it to Flex Builder.
    You therefore need it (which is quite logical since it IS a contract between a server and a client...)

  • SOAP and Webservice

    Hi all,
    i am new to java..!! so can someone pls help me..its urgent?
    i want to create a agent which will read the content sent through SOAP and create an XML file and send it through web service. Can anyone help me in this regard..?
    P.S :- sorry if i am repeating this question as many of them wud have already asked this..i was not able to find anythin to match my requirement.
    thanks
    bala

    i was not able
    to find anythin to match my requirement.What you're asking is so common that I find it difficult to believe your search would come up empty. A quick google search of "java web services" returns more information than you will ever need. First link that pops up:
    java.sun.com/webservices/
    Good luck.

  • SOAP AND HTTP adptors

    Hi All,
    Difference b/w SOAP AND HTTP ADAPTORS.
    WAITING FOR REPLIES.
    SANKAR

    Hello
    Please check the Rules of Engagement, https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement, before posting on the forum.
    Please search the forum before posting questions like this. It has already been answered several times in the forum. Also you will find the answer by searching help.sap.com.
    I am closing this thread.
    Regards
    Mark Smyth
    XI/PI Moderator

  • OmniPortet and WSDL

    I'm trying to create an OmniPortlet that accesses a web service. When I enter the WSDL URL into the setup, the OmniPortlet says there are no methods defined. What is it about the WSDL definition below that OmniPortlet doesn't like?
    Thanks.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="urn:vignette" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:vignette" xmlns:intf="urn:vignette" 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:types>
    - <schema targetNamespace="urn:vignette" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="OutTable">
    - <sequence>
    <element name="NAME" type="xsd:string" />
    <element name="SSN" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ORG" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="TELEPHONE" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="EMAIL" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="TITLE" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ServiceName" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="ServiceDescr" nillable="true" minOccurs="0" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="getTeam">
    - <sequence>
    <element name="userID" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="getTeamResponse">
    - <sequence>
    <element name="myTeam" type="impl:OutTableArray" />
    </sequence>
    </complexType>
    - <complexType name="OutTableArray">
    - <complexContent>
    - <restriction base="soapenc:Array">
    <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:OutTable[]" />
    </restriction>
    </complexContent>
    </complexType>
    </schema>
    </wsdl:types>
    - <wsdl:message name="getTeamRequest">
    <wsdl:part name="inputs" type="intf:getTeam" />
    </wsdl:message>
    - <wsdl:message name="getTeamResponse">
    <wsdl:part name="outputs" type="intf:getTeamResponse" />
    </wsdl:message>
    - <wsdl:portType name="MySupportTeam">
    - <wsdl:operation name="getTeam" parameterOrder="inputs">
    <wsdl:input message="intf:getTeamRequest" name="getTeamRequest" />
    <wsdl:output message="intf:getTeamResponse" name="getTeamResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="MySupportTeamSoapBinding" type="intf:MySupportTeam">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="getTeam">
    <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="getTeamRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:vignette" use="encoded" />
    </wsdl:input>
    - <wsdl:output name="getTeamResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:vignette" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="MySupportTeam">
    - <wsdl:port binding="intf:MySupportTeamSoapBinding" name="MySupportTeam">
    <wsdlsoap:address location="http://tech1.sandia.gov:9020/MySupportTeam/services/MySupportTeam" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Sorry, the WSDL is behind our firewall. I've included the majority of the WSDL in the original post (couldn't get it all in due to message size limitation). If there is some specific section you'd like to see that I didn't include, let me know and I can include it.
    thanks.

  • Web services and wsdl for beginners

    Hi, I wonder if someone could help me, I need a guide on how to create, consume and publish web services and wsdl in jboss for beginners, using the tools of eclipse or netbeans.
    Thank you very much

    My intention is to create web services to consume from PDF forms, I thought it was the right way from eclipse, this is good practice or is there a better way?
    Thanks.

  • The configuration does not correspond to a SOAP RPC WSDL

    Hi,
    When in my proxy service I amd trying to make a service callout to my business service which is based on a third party wsdl (hence cannot be changed), i get the following error.
    "The configuration does not correspond to a SOAP RPC WSDL. The WSDL of the target service may have changed making the configuration out of sync. Please edit the Service Callout to fix the configuration."
    My wsdl operation --> style is of type rpc.
    Regards,
    Rahul.

    Hi,
    Have a look at the binding of your WSDL... a SOAP RPC WSDL should have
    <soap:binding style="rpc"... and not
    style="document"...The wsdl may be just out-of-sync, right button click at the parent folder and refresh will solve the problem...
    Cheers,
    Vlad

Maybe you are looking for

  • Synchronous RFC Receiver inside of a Loop in BPM

    Hi there, we have a RFC -> XI scenario where a BPM needs to receive messages from a RFC inside of a loop, to bundle these messages, just like the first example here: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a

  • Why am i getting an error message that says "an unknown error has occured" when i try to update my apps in the app store

    Can someone please offer some suggestions why I am getting an error message that says "an unknown error has occured" when I try to download or update my apps in the app store? Thanks! disregard! i noticed someone else's post about signing out of the

  • Xml document transfer from JSP app to an ASP app

    Hello, The client has an existing Active Server Pages application. In-house we have built another application in JSP. We need to send an xml document that we are generating in Java Server Pages along with session login data to the existing ASP applic

  • HT1338 High Kernel_Task memory usage

    I am running a Macbook pro (mid 2012) with mountain lion. The Kernel task memory takes between 800mb and 1.4gigs of ram. Is this normal? Thank you

  • BLOB Columns Inserts/Updates ???

    Please let me know how SQL*Loader can run updates to just the blob columns without truncation/replace. We want to do incremental updates to the BLOB column without truncation/replace. If this is not possible please let me know any other process which