How does a SOAP req in HTTP map to an operation?

How exactly does a SOAP request sent to a particular HTTP url hosting a web service
get mapped to a web service operation?
I have a web service with a single operation. I'm able to execute it from the
web service "home page". I tried using the "debug.Post" utility class to send
a pre-formatted SOAP message to the service, and I get a SOAP fault back saying
that it's "Unable to find a matching Operation for this remote invocation".
What sort of things could be going wrong here?

Hi David,
Here's a weblogic.webservice.tools.debug.Post example that you can
experiment with that runs against live endpoints.
HTH,
Bruce
David Karr wrote:
>
How exactly does a SOAP request sent to a particular HTTP url hosting a web service
get mapped to a web service operation?
I have a web service with a single operation. I'm able to execute it from the
web service "home page". I tried using the "debug.Post" utility class to send
a pre-formatted SOAP message to the service, and I get a SOAP fault back saying
that it's "Unable to find a matching Operation for this remote invocation".
What sort of things could be going wrong here?[checkit.xml]

Similar Messages

  • How to send SOAP request by HTTP POST?

    I want to access a SOAP webservice using mx.rpc.soap.mxml.WebService.
    Following is my code:
    <mx:WebService id="miner_service" wsdl="http://localhost:8080">        <mx:operation name="hello" result="echoResultHandler(event);"></mx:operation></mx:WebService>
    When debugging with that, I got such error message:
    [Fault] exception, information=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://localhost:8080)"]
    Then I use Fiddler try to capture the response returned by server, it's like this:
    Error responseError code 501. Message: Unsupported method ('GET'). Error code explanation: 501 = Server does not support this operation.
    But when I use python to send SOAP request by HTTP POST, the server will return correct response.
    So how can I send SOAP request by HTTP POST?
    (I tried <mx:WebService wsdl="http://localhost:8080" method="POST">, but no luck..)

    Sorry for my late reply..
    There's no WSDL for that SOAP service

  • How to fix SOAP Security Header UsernameToken is required for operation?

    hi all,
    can somone help me how to resolve the error "javax.xml.ws.soap.SOAPFaultException: SOAP Security Header UsernameToken is required for operation" when i run a client.
    i got a WSDL and using wsdl2java i generated the stubs
    Here is my client code
    public final class LiteratureClient {
         public final static QName SERVICE = new QName("http://siebel.com/asi/",
                   "Literature");
         public final static URL WSDL_LOCATION;
         private LiteratureClient() {
         static {
              URL url = null;
              try {
                   url = new URL(
                             "file:c:\\reprintwsdl\\http___siebel.com_asi__Literature17.WSDL");
              } catch (MalformedURLException e) {
                   System.err
                             .println("Can not initialize the default wsdl from file:http___siebel.com_asi__Literature17.WSDL");
                   // e.printStackTrace();
              WSDL_LOCATION = url;
         public static void main(String args[]) throws Exception {
              System.out.println(WSDL_LOCATION);
              Literature obj = new Literature(WSDL_LOCATION, SERVICE);
              DefaultBindingSpcLiteratureSpcWS port = obj.getDefault();
              Client cxfClient = ClientProxy.getClient(port);
              cxfClient.getInInterceptors().add(new LoggingInInterceptor());
              cxfClient.getOutInterceptors().add(new LoggingOutInterceptor());
              cxfClient.getOutInterceptors().add(new SiebelPasswordInterceptor());
              com.siebel.xml.literatureio.iterature inputObj = new com.siebel.xml.literatureio.lterature();
    inputObj.setDocId("1234");          
              // Query by ID
         LiteratureQueryByIdlInput input = new LiteratureQueryByIdInput();
              com.siebel.xml.iteratureio.ListOfliteratureio list = new com.siebel.xml.iteratureio.ListOfliteratureio();
              list.getLiterature().add(inputObj);
              input.setListOfliteratureio(list);
              LiteratureQueryByIdOutput output = obj.getDefault().LiteratureQueryById(input);
    This is the interceptor which i added to the client before performing the query operation
    public class SiebelPasswordInterceptor extends AbstractPhaseInterceptor<SoapMessage> {
         public static final String SECURITY_TAG_NAME = "wsse:Security";
         public static final String SECURITY_NAMESPACE = "http://schemas.xmlsoap.org/ws/2002/04/secext";
         public static final String USERNAME_TOKEN_TAG_NAME = "wsse:UsernameToken";
         public static final String USERNAME_TAG_NAME = "wsse:Username";
         public static final String PASSWORD_TAG_NAME = "wsse:Password";
         public static final String PASSWORD_TEXT_ATTRIBUTE_NAME = "wsse:PasswordText";
         public static final String TYPE_TAG_NAME = "Type";
         public static final String SECURITY_NAMESPACE_NAME = "wsse";
         public static final String SECURITY = "Security";
         public SiebelPasswordInterceptor() {
              super(Phase.PREPARE_SEND);
         public void handleMessage(SoapMessage message) {
              List l = message.getHeaders();
              Document d = DOMUtils.createDocument();
              Element securityParent = d
                        .createElementNS(
                                  SECURITY_NAMESPACE,
                                  SECURITY_TAG_NAME);
              Element userNameToken = d.createElementNS(
                        SECURITY_NAMESPACE,
                        USERNAME_TOKEN_TAG_NAME);
              Element userName = d
                        .createElementNS(
                                  SECURITY_NAMESPACE,
                                  USERNAME_TAG_NAME);
              userName.setTextContent(getUsername());
              userNameToken.appendChild(userName);
              Element pwdText = d
                        .createElementNS(
                                  SECURITY_NAMESPACE,
                                  PASSWORD_TAG_NAME);
              pwdText.setAttribute(TYPE_TAG_NAME, PASSWORD_TEXT_ATTRIBUTE_NAME);
              pwdText.setTextContent(getPassword());
              userNameToken.appendChild(pwdText);
              securityParent.appendChild(userNameToken);
              SoapHeader header = new SoapHeader(new QName(
                        SECURITY_NAMESPACE, SECURITY,
                        SECURITY_NAMESPACE_NAME), securityParent);
              System.out.println(" HEADER "+header.toString());
              l.add(header);
         protected String getUsername(){
    return "test";
         protected String getPassword(){
              return test";
    I did add this interceptor as out interceptor to my client but for some reason the header is not getting added to the request . can someone pls. help me in troubleshooting this issue.
    Thank you

    The problem is in <form action="http://www.eastsidestudios.com.au/FormProcessv2.aspx?WebFormID=42582&O ID={module_oid}&amp;OTYPE={module_otype}&amp;EID={module_eid}&amp;CID={mo dule_cid}"
    You have to remove http://www.eastsidestudios.com.au from the action URL and make it relative:
    <form action="/FormProcessv2.aspx?WebFormID=42582&O ID={module_oid}&amp;OTYPE={module_otype}&amp;EID={module_eid}&amp;CID={mo dule_cid}"
    Cheers,
    -mario

  • Can/How does Label Security integrate with Documentum Trusted Content Serv

    How easy wouldit be to use Oracle Label Security to manage all information in the Oracle dabase including Documentum metadata so that a single security policy cn be defined..at least for the information stored in the Oracle database.
    How does the documentum security tag get mapped to an OLS label?
    Customer needs only a high level understanding...
    Steve Flournoy

    I am not familiar with documentum but you can use OLS for:
    Row level security based on labels added to the tables you want to protect. Apply the labels to the documentum metadata tables and you have implemented OLS. The Documentum tags can be mapped to OLS labels in Oracle Policy Manager:
    Set up the OLS labels just like the documentum security tags in Oracle Policy Manager .
    For even more customization use Application Contexts and Virtual Private Database Policies.

  • How to install Soap on the (Apache) Oracle HTTP Server

    Hi,
    Does anyone know how to install SOAP on the Oracle HTTP Server? I downloaded a soap version (it seems that the standard version comes without SOAP) from the xml.apache.org site and followed the installation instructions as far as I could (only Tomcat is described). However, no 'soaping'!!! Maybe I'm overlooking something because I cannot imagine that it should be difficult.
    Thanks in advance!
    Hans

    Hans, the SOAP implementation is part of OC4J. You get it out of the box. Check out how to use the out-of-the-box implementation in the tutorials on Web services with Oracle9i JDeveloper at:
    http://otn.oracle.com/tech/webservices/htdocs/series/content.html
    These tutorials/samples use the implementation of SOAP/WSDL that Oracle calls J2EE Web Services and this is the long term direction of Oracle's Web services implementation. This implementation is what Oracle will be evolving to Sun's Java Web Services Developer Pack as it finalizes into J2EE 1.4.
    If you want to use Oracle/Apache SOAP, this too is included in OC4J but its support is being deprecated in future releases of Oracle9iAS in favour of the J2EE Web Services implementation. To find it, check out the OC4J/soap/webapps/ directory for the soap.ear file (it is in a slightly different spot if you are using the full Oracle9iAS R2 but still within the soap directory structure. Simply add <application name="soap" path="../../../soap/webapps/soap.ear" auto-start="true"/> to your OC4J server.xml and <web-app application="soap" name="soap" root="/soap" /> to your OC4J http-web-site.xml, re-start and away you go.
    Finally, just to be sure, SOAP support in Oracle9iAS did not appear until 1.0.2.2.x and higher. If using 1.0.2.1 or less, you are correct, there is no SOAP support.
    Mike.
    Most folks that try out the J2EE Web Services find it is pretty easy to use so

  • Transfer Rules: How does the mapping work?

    Transfer Rules: How does the mapping work?
    Is there a document out there that explains the following or can someone help clarify it for me. I have some confusion on what is really going on.
    When I create an InfoSource (IS_Test)  as a “Flexible update…”  and then “Assign DataSource”  (DS_Test) and I respond Yes, to the message “DataSource assignment DS_Test to InfoSource IS_Test Save”
    a) <b>Under “Transfer_Structure/Transfer_Rules”</b> in the InfoSource
    1)  the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (<b>Communication Str/</b>Transfer rules) eventually go?
    2)  the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test? The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    b) Under “<b>Communication_Struct.”,</b> in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    4. The left column is “<b>Communication Structure</b>”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    Thanks.

    Hi Caud,
    As Ashish pointed out, communication structure contains fields (infoobjects) that suppose to go to data targets. Which IO in CS to which IO in the data target will go (and what transformation of data may occur) is determined in URs of the data target.
    The transfer structure is the structure in which the data is transported from the source system into BW:
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/0e503c3c0d563de10000000a114084/frameset.htm
    In “Transfer_Structure/Transfer_Rules” in the IS, DataSource /Trans. Structure” tab, right part shows fields in the Datasource, the left part – fields in the transfer structure. There is also a transfer structure in R/3 for a given DS. Transfer structure in BW is created identical to the TS in R/3 during TRs activation.
    During data load data are transferred 1:1 from TS in R/3 to TS in BW.
    TS in BW corresponds to the PSA table structure.
    How data from PSA are transferred to the CS is determined in TRs.   
    The 3rd column (“Field”) (“Transfer Rules” tab, right part (Assigned InfObjct-field)), contains field names of the DS (TS); and the 1st column shows IO in the CS to which the DS field will go. So, it’s a mapping DS filed -> CS field.
    The left part (“Communication str./Transfer rules”) is always identical to the CS content. But the 4th column (“Tp”) shows possible data transformation during transfer from PSA to CS. If this column contains a yellow triangle then there is no transformation (Value of DS field will go to value of CS field). If there is a red cross, it means that no data for this CS field is supplied from a DS. You can click on this yellow triangle and choose: 1). Another field from a DS; 2). Constant; 3). ABAP routine; 4). Formula. So, here you can determine the data transformation. Moreover, there is a possibility to create a start routine (blank sheet icon at the top).
    And finally, here are the answers on your questions:
    Q:
    a)     Under “Transfer_Structure/Transfer_Rules” in the InfoSource
    1) the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (Communication Str/Transfer rules) eventually go?
    A: Right part shows a mapping between DS and CS fields. Left part shows CS fields and data transformation (TRs) during data transfer from TS (PSA) to the CS. These are fields in the CS that will go to data target and which are fed from a TS (DS).
    Q: 2) the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test?
    A: Yes, you are right.
    Q: The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    A: As I described, left and right parts are identical. These fields will go to CS.
    Q: b) Under “Communication_Struct.”, in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    A: these are fields from an IS template, the name of this template you can see above this right part.  Actually, during IS (CS) creation you can choose different templates and choose fields from them transferring them into the left part.
    Q: 4. The left column is “Communication Structure”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    A: these are fields of CS (left part) and as I said before they will go to data target.
    Q: 5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    A: CS in 4 just shows IOs that will be transferred to data target. CS in 1 also shows how values for CS IOs are to be fed and transformed.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • How does *.jsf extension map to *.jsp extension and where it is mapped

    Hi ,
    How does *.jsf extension map to *.jsp extension and where it is mapped ?
    Thanks

    How does *.jsf extension map to *.jsp extension and where it is mapped ?It is mapped in the web.xml.
    If you add the following in your web.xml:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    The *.jsf will be mapped to the file with the same name, but xhtml as extention.
    if you the javax.faces.DEFAULT_SUFFIX is not defined in the web.xml, the default suffix comes from the one of the constant of javax.faces.application.ViewHandler . This constant names DEFAULT_SUFFIX and equals to ".jsp"
    Look at:
    http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/constant-values.html
    Sergey : http://jsfTutorials.net

  • How does MAP scan the network

    Hi everyone, just sending you this email hoping you can support on the following:
    Do you have any document or presentation that explains how the data is gathered through the MAP tool from a pure technical perspective? (How is the data gathered,how the tool works while scanning,what will the tool access while
    doing the scanning, will there be anything left on the server after the tool is removed etc …)
    I need this to share it with a customer who’s quite worried about the risks his environment will be exposed to by running the tool? Appreciate your help.

    Hi,
      Greetings of the day!
    There are many ways of achieving the above and the easiest way is mentioned on the link attached below :-
    http://windows.microsoft.com/en-in/windows/rename-printer#1TC=windows-7
    The above applies to other windows OS as well as win7.
    And to make it meaning ful, you would need to get creative  
    If you have any queries related to the same OR any other do reply.
    Regards,
    Mohammed

  • VC - How does it build code - can code be changed - SOAP

    Hi,
    From my understanding of webservices and VC..
    I have the following questions:(please correct me if i am wrong)
    - How does Visual composer generate code ..get data from
      RFC and display it..
    - Can visual composer respond to a SOAP request..
      if i have to get data from a CRM s/m, BW s/m and R/3 i
      can do it within one view of VC..however if i need to
      similar data by making a SOAP request.. i need to make
      multiple requests to RFCs published as
      webservices..Instead of that can i make a SOAP request
      to VC and get data back..

    That's right, VC is not a tool to build "services", it's a tool to build an "application with UI". On the other hand you can retrieve data from VC by using Portal Eventing and defining input/output for the VC application itself. Tehre is an excellent document which describes a similar scenario for a VC iView with BEx:
    How to Integrate Visual Composer Applications and BEx Web Templates
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    Mario

  • Under search in maps, names come up that aren't in my contacts. How does this happen?

    Under search history in the Maps app,...along with all the other places I
    did search for, some addresses comes up that I'm not familiar with, and they stay
    there. In some cases I didn't search for them at all. Some I may have. A name also
    appears, under the address, like "from John Doe". It’s a name that
    I'm familiar with my email, but is not in my contacts. Why and how does
    this happen?
    For example, a person I receive emails from for work, came up as the
    "from", and the address, after I searched for it (not on my phone).....I found out
    it was the address of his company, I place I've never searched for, nor is
    there a hyper-link to it any emails/websites that I could have clicked on
    accidentally.
    In another example, the beginning of an address “5165” which I may have searched
    for and starting typing in came up in the history with several locations that
    start with those numbers. Most of them say “from current location”, but one says from
    a name, whom again I’m familiar with by email, but is not in my contacts and
    have no idea of why the name would be somehow connected to the address.

    Thank you for the reply. I really appreciate it. Do you know why the names are attached, as "from"?
    I attached a screen shot image. "Harry" and "Angela" are not contacts in my phone. Who would their names get there?

  • In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    Hi JohnDory,
    The information side-bar from iPhoto has been removed in Photos App, and so it's been converted into a pop-up window showing both the exposure, aperture and so technical photo parameters, as well as the comments, faces and LOCATION for that photo.
    This small floating window is shown whenever you click the button in the app title bar, right clicking a specific photo or pressing ⌘i
    If you open the albums view (clicking in the name of the album list, NOT an album name, you can see in your left sidebar - which can be shown or hidden) and press ⌘i without selecting a specific photo the Info pop-up will show the map for your whole library (as well as the total amount of photos, videos, GB used, etc)
    So, I'm afraid the "Locations" view (which I really loved) from iPhoto has been ripped off... and we can only get "some sort of locations view" by this method.
    As for locations... there is no option for manual geotagging (so, setting location to a specific photography which doesn't have it yet)... that really ****** me off 
    Regards,
    braincasualties.

  • How does one create LOV Map between 2 fields for custom lookup mapping

    Hi there
    In Internet Expenses, Expense Report Line Detail we have two unrelated fields; namely Expense Location & Tax Code.
    The requirement is to map a default tax code to locations; basically when a user enters Expense Location then the mapped tax code value should default into field Tax Code.
    The location-tax code mapping is stored in a custom lookup (FND_LOOKUP_VALUES).
    My question is how does one go about implementing this?  For example is it possbile to create a new (hidden) LOV based on the lookup mapping & then create a Personalization LOV Mapping between the 3 LOV...  Or is it necessary to modify the Tax Code drop down Message Choice in JDeveloper?  Of course details are appreciated!
    FYI below is the relevant Personalization Structure from "Personalize Stack Layout: (NormalDetails)".
    Message Lov Input: Expense Location
    - Lov Mappings
    -- Lov Map: (lovMap1)
    -- Lov Map: (lovMap2)
    -- Lov Map: (lovMap3)
    - Message Text Input: Expense Location
    - Message Styled Text: Transaction Location
    - Message Text Input: Merchant Name Yes
    - Message Styled Text: Description
    - Message Check Box: Original Receipt Missing Yes
    - Message Choice: Tax Code
    - Message Check Box: Amount Includes Tax
    - Message Choice: Tax Code
    Many thanks
    G

    Hello all
    The correct & supported method is this:
    Extend the location LOV in JDeveloper & add a "default tax" attribute, this could be derived from a new location DFF storing the default tax code for each location. Now simply create a location Personalization LOV Map which takes this new location lov tax attribute & target it to the tax message choice field.
    That's my 2c worth anyway, so please give comment if you feel there is a better way.
    There is just one more little problem however... The requirement has changed! Now we require the tax code to default according to not one location field, but other fields too. For example if the user selects Expense Type of Beverage & Location of Netherlands then Tax Code should be NL19%, for Expense Type of Hotel then it should be NL6%; if the user ticks "Missing Receipt" field then it should over ride all others & set the code to NL0%.
    Any ideas?
    Many thanks
    G
    Edited by: user13363208 on 11-Aug-2010 06:51

  • How does nokia maps work? BACKEND

    Hello everybody,
    When u give the location coordinates to nokia maps, it will find out the location on the earth and zoom to the point. How does this work, wht is the backend where we can do these manipulations...
    Can u please help me with this..

    Refer these threads..
    /t5/Maps-Navigation-and-GPS/Ovi-maps-when-offline-search-not-working/m-p/614321/highlight/true#M1668...
    /t5/Maps-Navigation-and-GPS/No-offline-search-OVI-Maps/m-p/644579/highlight/true#M19586
    /t5/Maps-Navigation-and-GPS/ovi-map-search-offline-problem/m-p/741575/highlight/true#M26571
    ..and you are getting charged for using the Internet (Packet data) by your service provider and not by Nokia /OVI..
    --------------------------------------------------​--------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • How does one get the Satellite to work in Google Maps ?

    How does one get the Satellite to work in google maps ?

    I am experiencing exactly the same issue - iMac, 10.6.8.  Thanks for reporting it - I thought I was going nuts.  What happens from here?  Does Apple watch these postings?  Do we just hope that they find the bug themselves?  Is there a vehicle for reporting bugs directly to Apple?
    Thanks in advance.

  • How does maps work

    i have iphone 4 and new version software
    so the Google map is ouit and apple map in
    but it does not show the direction for driving
    or road map between two destination !!
    it says direction not available so does it mean
    that this is due to local operator restriction ??

    Check your country status
    http://www.apple.com/ios/feature-availability/#maps-turn-by-turn-navigation

Maybe you are looking for

  • 5G ipod error message

    Just today my computer sent a message that it could not read my Ipod and recommended I return it to factory specifications--I went through the "5 Rs" Lastly, during the restore process I got "ipod manager internal error" message and would not let me

  • Print Job Error in F110

    Hi all,      I am getting an error when I try to schedule print job in F110. After giving the Run date and identification, I am clicking on the printout button and filling the scheduling details there. But when I take the payment log, it is showing t

  • Set 9i as default Database over 10g

    I have installed Oracle 9i and 10g both in same machine, running well but from other programs, 10g is connecting by default and if want to connect with 9i I have to select 9i. Is there any method to make 9i as default database

  • Can I use the thunderbolt output to a component video input to my home theater

    I am trying to get video from the thunderbolt connection to my home theater using component inputs--can it be done

  • How to pass the value to the screen through call transaction

    hi i have got an requirement for which i have to call MIGO tcode through call transaction command. But here one list box GODYNPRO-ACTION (screen field) contains list of values . my requirement is when i will call the tcode MIGO it should take default