Why use custom wsdl vs. generic wsdl?

I downloaded the custom wsdl and it's generic version and the generic version is double the size of the custom one.
1) Why generic version is so big?
2) Why would you use custom wsdl vs. generic version other than the fact the name is easy to read for custom wsdl?
Thanks

#1, because custom wsdl only contains the fields you used, while generic version show all of them.
#2, like you mentioned, custom name is easy to read. what's more, if you have some functional extension integration development experience, you will find it will much more convenient for developer to build and maintain the code.

Similar Messages

  • Using custom wsdl to esb routing service node

    Hi,
    I am working on a ESB flow, The entire flow works with ESB generated WSDLs. But, now, I want to use our own WSDL files, so I configured the starting Routing Service node to use existing WSDL.
    To do this, I made the following changes.
    Initially I was feeding XML file throug a File Reader node, and it was easy to test. Now, since I am working with our own WSDL, I removed File Reader node and created another Routing Service node with uses our custom WSDL file. I am now testing the flow by using OC4J web services feature. It provided me a web based form where in I can populate/feed values in. When I do this, I get an error like below:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Software caused connection abort: connect
    Does anybody know how to fix this?
    Thanks,

    sorry your '"mysoapaction"' funda didnt work....
    can you tell me that what should be the value in p_url??
    http_req := utl_http.begin_request(p_url, 'POST', 'HTTP/1.1');
    utl_http.set_header(http_req, 'Content-Type', 'text/xml');
    utl_http.set_header(http_req, 'Content-Length', length(request_text));
    utl_http.set_header(http_req, 'SOAPAction', p_soap_action);
    utl_http.write_text(http_req, request_text);
    http_resp := utl_http.get_response(http_req);
    utl_http.get_header_by_name(http_resp,'Content-Length',l_head_out);
    l_cont_length := to_number(l_head_out);
    IF l_cont_length > 0
    THEN
    utl_http.read_text(http_resp, p_response);
    END IF;

  • Why use customized / particular exceptions instead java.lang.Exception

    Hi,
    Do any of you guys know where can I find a theorical statement / explanation about why use particular / customized exceptions instead java.lang.Exception? I am aware that it consumes more resources and becomes a heavier object, as well as the clearness when coding and all that stuff; however, my boss wants to see a tech document where all this is clearly stated. Any resource over there?
    Regards

    It is better to throw specific--or at least module- or
    package-specific--excpetions, rather than Exception,
    because then the caller knows what to expect. However,
    if you declare "throws Exception", the caller can
    still catch IOException, SQLException, etc.,
    separately. He'll just have to be a really good
    guesser as to which ones he should catch.True.
    Also, there's no point in declaring "throws
    NullPointerException." Any method can throw it without
    declaring it. If you generate your own NPE (or other
    unchecked exception) inside the method, then you
    should document it in the javadoc comments, but you
    don't need to put it in the throws clause. It doesn't
    do any harm, but it's redundant and cluttersome.It was an example and I wasn't feeling too creative....excuse me. ;-) But yeah, I've never thrown NPE ever.
    I'm assuming overhead caused by extending classes.At
    the worst, it would be miniscule, or so I wouldthink.
    What overhead is created by extending classes?Hmm, I was under the impression that a class the extended another class, inherited all of the other classes data (variables, etc.). Hence, you get something like this:
    SuperClass1 + SubClass1 + SubClassOfSubcCass1 = Memory usuage for SubClassOfSubClass1.
    Since adding postivie number will always end up increasing data, SubClassOfSubClass1 will use more dtat than SuperClass1.
    Am I wrong?

  • How to transfer encrypted file using B2B sftp with custom doc over generic

    hi ,
    we have a requirement to get and send an encrypted file to/from our trading partner.
    Previously we configured B2B sftp with custom doc. over generic exchange protocol to get a text file and used 1st 11 charecters in the file as identifier for the TPA configuration and successfully processed the file. Since we are getting an encrypted file , we need to find a way to identify the TPA config. .
    Please reply to this thread if you have any suggestions. Pls. feel free to ask if you need more information to understand the situation.
    thanks
    srini

    hi Ramesh,
    I have sent mail to you . We are actually using file name convensions but we are using internal delivery as B2B InQuueue . And when we use custom document over generic exchange , in the paramenters we do not see any file name property. i hava also sent you the TPA so that you can get idea of the configuration we did.
    thanks
    Srini

  • Issues With Generic/Custom WSDL

    Whenever I generate a Custom WSDL it seems to be providing the same output as the generic WSDL option. Furthermore, I do not see all of my custom fields listed in the WSDL. These were not created recently and have been present in the system and data loads for quite some time. I tried searching by the technical name and the short name but can not find many of my custom fields in any of the WSDLs. Please advise.

    Hi,
    You can get real name of the object from UI by clicking "Rename" and the "Advance" on field setup of the object or You can use Field Management Web Service to get the real name of the fields. Use SoapUI, its free tool.

  • Oracle XML Gateway - custom WSDL configuration in service partner setup

    We are trying to configure a custom WSDL for service partners to send/receive outbound/inbound messages using OTA. I have a coded a WSDL that pretty much replicates the Generic WSDL template that was provided with the gateway. When i configured it, it has trouble finding the endpoint of the custom WSDL. Has anyone run into this situation before? Please throw some light on this issue. We are pretty much stuck right now!!

    No. I am afraid that your understanding is incorrect. Oracle B2B is part of Oracle SOA suite and XML Gateway is part of Oracle Apps. Yes both of them have some overlapping areas of work but apart from that both products do not have any connection in between.
    Regards,
    Anuj

  • How do I support multiple custom WSDL files in one application?

    I am developing an application that will integrate with SOD. This application will be run at multiple customers - each of which could have their own set of custom fields defined for the various objects that we're interested in. Is there a web service that allows you to access custom objects and fields in a generic fashion or am I going to have to obtain each customer's custom WSDL file and write some sort of adapter for each that plugs into our main integration logic?
    Based on everything I've tried and read, it seems like the latter is true.
    Edited by: user3029444 on Mar 27, 2009 5:11 AM

    Hi !
    As I am developing many customer applications with OCOD interface, I confirm that the only way I see is to have an adapter. For example, having a folder WSDL containing one sub folder for each customer. And these sub folders will contain the customer specific wsdl.
    Then you'll have to run your application in a customer context, I mean knowing who is running the application and then set your wsdl path regarding this identification.
    Hoep this will help, feel free to ask more !
    Max

  • WSA wsdl-gen won't get a custom WSDL

    Hi,
    I'm trying to make Web Service Assembler in OC4J 10.1.2 get my custom WSDL file, but it won't no matter what i change. This is the config file i'm using now:
    <web-service>
         <display-name>Web Service Demo</display-name>
         <description>Web Service Demo for OC4J</description>
         <destination-path>./build/wsd-services.ear</destination-path>
         <temporary-directory>c:\temp</temporary-directory>
         <context>/wsdemo-ws</context>
         <stateless-java-service>
         <interface-name>es.wsd.services.DemoServiceInt</interface-name>
         <class-name>es.wsd.services.DemoService</class-name>
         <uri>/demoService</uri>
         <java-resource>./bin</java-resource>
         </stateless-java-service>
         <wsdl-gen>
         <wsdl-dir>./wsaconfig</wsdl-dir>
         <option name="force">false</option>
         <option name="packageIt">true</option>
         <option name="httpServerURL">http://localhost:8888</option>     
         </wsdl-gen>
    </web-service>
    Well, i have a DemoServiceInt.wsdl file in the wsaconfig folder hanging from my project's root, and use this ant target to launch WSA:
    <property name="WSA.dir" value="c:\desarrollo\java\oc4j\webservices\lib"/>
    <property name="WSA.dir.config" value="./wsaconfig"/>
    <target name="build.wsa" depends="build.src">
    <java jar="${WSA.dir}/WebServicesAssembler.jar" fork="true">
         <arg value="-config"/>
         <arg value="${WSA.dir.config}/config.xml"/>
    </java>
    </target>
    Thank you in advance.
    Best regards.
    Juan Alvarez Ferrando

    Let's take it one step further. Reset your network settings on your touch. Tap Settings > General > Reset > Reset Network settings. When it restarts, log back onto your network.
    Since you are using the same router as before as your access point, what really has changed? The default on DNS is "Use ISP's DNS" isn't it?

  • Troubleshooting Custom WSDL files and duplication

    I am attempting to provide a web service for my company's CRM with Siebel, requiring multiple types(Specifically: Lead, Campaign, Contact, Activity).
    However, when I import the custom WSDL files for these into my C# project, there are roughly alot of build errors due to the duplication of partial classes(and the fields therein)
    Is there anyway around this besides manually going through the duplicates and removing them?

    Thanks for the response.
    I have it working now.
    I used wsdl.exe to create .cs files and imported those.
    Each .cs file has its own namespace(I just used the class name again).
    So instead of calling Campaign.CampaignInsert(CampaignWS_CampaignInsert_Input), its Campaign.Campaign.CampaignInsert(Campaign.CampaignWS_CampaignInsert_Input)
    and so on for the other classes/methods.

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • BPEL 10.1.3.3 - Receiving Mail using MailService.wsdl not working

    Hello Gurus,
    We are having both 10.1.2 BPEL server and 10.1.3.3.
    In 10.1.2 I could successfully use the mail read method as specified in Sample 117.ReceiveEmails. But when I do the same in 10.1.3.3 I am getting "java.lang.NullPointerException" (while it reads the mail from mail server).
    The Surprise is the solution works fine in 10.1.2 but not in 10.1.3.3
    (Note: even I couldn't find 117.ReceiveEmails sample in 10.1.3.3 samples directory).
    The observation of mine is suppose If I didn't send any mail to the mail account, the service keep polling (based on specified polling interval). but once I send mail to the mail account, the process read the mail from mail server and ends with NullPointerException error. And as expected the mail gets deleted from mail server.
    Please help me.
    The Error:
    Receive_1 (faulted)
    [2007/09/06 17:07:58] Starting poll cycle for mail account "freecom-mail".
    [2007/09/06 17:07:59] Received no message(s), continuing polling on mail account "freecom-mail".
    [2007/09/06 17:08:14] Received no message(s), continuing polling on mail account "freecom-mail".
    [2007/09/06 17:08:29] "NullPointerException" has been thrown.less
    java.lang.NullPointerException
    [2007/09/06 17:08:29] Received message(s) from mail account "freecom-mail", stopped polling cycle.
    Mail configuration info:
    freecom-mail.xml (mail account file placed in $ORACLE_HOME/bpel/domains/default/metadata/mailservice - I created the last two directories)
    <mailAccount xmlns="http://services.oracle.com/bpel/mail/account">
    <userInfo>
         <displayName>******</displayName>
         <organization>DubaiWorld</organization>
         <replyTo>*****@****.ae</replyTo>
    </userInfo>
    <!-- IMAP server config -->
    <incomingServer>
         <protocol>imap</protocol>
         <host>xxx.xxx.xxx</host>
         <email>[email protected]</email>
         <password>*********</password>
         <folderName>Inbox</folderName>
    </incomingServer>
    </mailAccount>
    Regards
    Arun
    Message was edited by:
    arungoin

    An additional information:
    Sending Mail using MailService.WSDL is working fine, but we don't know why the receiving mail option fails.
    Thanks
    Arun

  • How to use a WSDL file to call webservice? Help!

    Hi Experts,
         I have exposed a SAP function module as webservice using the
         Utilities -> More Utilities -> Create Web Service -> From Function module
         What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
         After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
        Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
        After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
        How exactly will java call my webservice using WSDL?
        What actually happens or what is the message flow when java application calls by webservice?
        Kindly help.
    Thanks
    Gopal

    Hi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix

  • Using generated wsdl file to other scenario

    Hi...
        I have done one scenario like giving
    Input File:  Fname,Lname,Address
    Output file: FullName,address.
    using BPM.
    After doing the sceanrio i have generated the wsdl file. I have tested the wsdl file using infopath.It is working fine.
    Then i have done anothe scenario like File_webservice_File sceanrio. In this scenario, i have used the wsdl file which i have generated before using BPM. while executng the scenario, output is not coming. i have used 2 receiver communication channels for soap and for file.For soap, i have given the target url and soap action of the wsdl file which i have generated.In moni i can see the 3 messages. for one message it is showing checked flag, but for other 2 messages, it is not showing any flag. Can you please tell, where i have done wrong.

    Hi Leelaratnam,
    try to refresh the queue ie SMQ1 and SMQ2 and even referesh the cache
    chk for this links
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    Thanx
    Sampath

  • Why a customer or vendor group One Time can't using?

    Why a customer or vendor group One Time can't using with special G/L ? for example Donw payment or chque receipt
    Many thanks for any answer?

    Hi Blue,
    Please refer OSS notes 19638
    Hope this helps.
    Please assign points as way to say thanks

  • How MS SOAP 3.0 client invokes WL 7.0 Webservice WITHOUT using a WSDL file?

    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

    Hi,
    As you might guess, we are not big VB users here :-) but we may have some C# code that
    could be of some value.
    What problem are you trying to solve by not using WSDL?
    Just curious,
    Bruce
    Dovan Nguyen wrote:
    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

Maybe you are looking for

  • What can one do with Bluetooth between MacBook Pro and iPhone?

    Hello, I tried enabling Bluetooth on my MacBook Pro and iPhone, thinking I could file transfer some photographs. It seems not to work; after trying to "browse the device" it effectively 'times out' (as if it's a neverending 'loading' wait icon). I sa

  • Command bar in CS4

    Hi all! In CS3 InDesign have command bar. But in Cs4 don't have. Why?

  • TRIGGER WORKFLOW IN  HR MODULE FOR TERMINATION OF AN EMPLOYEE

    Hi all i have an employee terminated in my organisation and i have to trigger the workflow at the background to inform through mail the line manager and the finince dept.to clear all his dues or to make a final settlement. As soon as i fill the bank

  • Illustrator CS2 will not open (I do think it can be acrobat)

    Illustrator, hangs at the  startup screen when "reading fonts". I have read about the acrobat issue but I am running on Mac 10.6.5 the Adobe reader 9.4.1 http://kb2.adobe.com/cps/534/cpsid_53468.html I read many forums and the above link fixed the is

  • Prints wrong colour from Word 2007. O.P. XP

    Printing from word 2007 with Black text, is printed in Cyan?  Have Repaired Word ,cleaned the Registrey and updated HP driver, but not corrected the fault?  Any ideas? This question was solved. View Solution.