Generating WSDL for a webservice that accepts attachments

Is there anyway to automaticaly generate a WSDL file for a webservice that accepts
attachments? Seems like the ant tasks and workshop don't work with services using
soap with attachments at all...
Thanks,
Leonardo.

Attachments are supported in WLS 7.0.0.1. You can either
map the attachments to the parameters or use handlers to
to get to attachments.
If the attachments are mapped to parameters the WSDL will
be generated with the appropriate mime binding.
regards,
-manoj
"Leonardo Bueno" <[email protected]> wrote in message
news:3d63e861$[email protected]..
Is there anyway to automaticaly generate a acceptsWSDL file for a webservice
that
attachments? Seems like the ant tasks and workshop don't work with services
using
soap with attachments at all...
Thanks,
Leonardo.
[att1.html]

Similar Messages

  • Webservice that Accept PDF/File Attachment

    Hi,
    I need one WebService that is available for use, and that accepts PDF/TXT as attachments or PDF/TXT as one of its parameters.
    Kindly tell me about the WebService i m luking for.
    Help/support wud be appreciated.
    Many thanks.
    Jeet.

    Hi,
    Read these articles they might help you:
    http://www.devx.com/ibm/Article/20254
    http://www.devx.com/ibm/Article/20254/1763
    http://www-128.ibm.com/developerworks/xml/library/x-tippass.html
    Regards
    Suraj

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • How to generate a unique WSDL for two webservices ?

    Hi ,
    Does anyone know if there is a way to generate a unique WSDL file for two webservices ?
    Actually, the problem is more general. I have two EJB that are exposed through web services. They both contain a simple data structure that is passed back and forth.
    The Client is a C# GUI and it is having problems with that data structure. Even if it is the same data structure with the same namespace, it seems it as two different objects and so creates two different stubs ...
    I am trying to work around that from the server side, bc it does not seem that we can do it from the C# application.
    First, I am trying to generate just one WSDL that would include both webservices but I can't seem to find an easy way of doing that.
    Second, I have heard that the complex types could be referenced externaly and I think that it would do the trick as well. I don't know how to do that either.
    I am using ServiceGen Ant tags to generate my web services from an EJB.
    Did anyone encounter that issue ?
    Can any one help ?
    Thanks a lot
    Farez

    hi,
    go to t-code SNRO and create a number range from 0 to 99999999.
    call the below fm in the report by passing the created number range name to fm to generate the new number every time..
    see
    NUMBER_GET_NEXT Get next free number in a range
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    NR_RANGE_NR = '01'
    OBJECT = 'YPOLLID'        "number range name created in SNRO.
    IMPORTING
    NUMBER = LS_NUMBER.       "new number with one increment..
    or
    you can try..
    you can use following code.
    select max( num ) from z_table into v_max_num.
    v_max_num = v_max_num+1.
    Regards,
    prabhudas

  • How to generate wsdl for complex type using wscompile?

    Hi
    Since couple of days I am trying to generate the the wsdl for following classes
    abstract class Key implements serializable{
    class sikeKey extends Key{
    int siteKey;
    class AddressKey extends siteKey{
    int addressId;
    class Model{
    AddressKey key = new AddressKey();
    }I am using following ant script for wscompile
          <wscompile
              fork= "true"
              base="${dest.dir}/war/WEB-INF/classes"
              server="true"   
              features="wsi"
              mapping="${dest.dir}/war/WEB-INF/Address_Mapping.xml"
              sourceBase="${war.dir}/WEB-INF/classes"
              optimize="false"
              debug="true"
              keep="false"
              verbose="true"
              xPrintStackTrace="true"
              config="${acws-config-dir}/Address_Config.xml">
              <classpath>
                            <pathelement path="${acws.classpath}"/>
                            <pathelement path="${war.dir}/WEB-INF/classes"/>
                   </classpath>
          </wscompile>
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
        <classpath path="${acws.classpath}"/>
    </taskdef>It generates the wsdl but without all complex type.
    <complexType name="AddressWebServiceModel">
    <sequence>
    <element name="addKey" type="tns:AddressKey" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="AddressKey">
    <sequence>
    <element name="siteID" type="string" nillable="true"/>
    <element name="addressID" type="int"/>
    </sequence>
    </complexType>Here it should create the right mapping for classes siteKey so that the webservice call can be mapped with the response of this Model.
    Any one know how to configure the above script for proper mapping of complex type?

    Add the concrete subclasses of Key in an <AddtionalType> element in your config.xm. file.

  • How to specify custom namespace in generating WSDL for BAPI

    In the creation of the Web Service Definition(WSDL) for a rfc-enabled function module, I would like to specify the custom namespace rather than the default in /sap/bc/srt/rfc/sap/. And I could not change the path in the Service Definition after it is generated(greyed out in change mode).
    I have looked all over the SAP help and could not find any documentation for the change.
    Any advise?
    regards,
    Wai-ming

    Hi John,
    You've raised a good scenario.
    First of all let me say that the purpose of the DB polling transaction, is to have an option to initiate a process from a DB table/view and not to update multiple fields in a table (or have other complex manipulation on the table).
    So, when choose to update a field in a record, after reading it, you are "telling" the engine not to poll this record again. Sure, i guess you can find a solution/workaround for it, but I don't think this is the way....
    The question now is what to do?
    You can have another DB adapter where you can update the data after finishing the process. In that case, after reading the data (on polling transaction) - update the header.status = 'processed' for example, and after processing the selected data update the rest of the fields.
    Hope it make some sense to you.
    Arik

  • Generating wsdl for the adapters in soa 11g

    Hi,
    how can we generate a wsdl only for the adapter that we use in soa 11g??
    for eg.. my scenario is frm the previous posts it was said that we need to generate the wsdl for the adapter and should import it in OSB for proxy services...
    (so this is interacting/ using adapters in osb)
    So please let me know if im wrong.. and guide me to correct way...
    Thanks in advance
    --Marias                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks man for the info...
    Actually Im looking for sample dbadapter in 11g. Is 11g wsdl compatible with osb 10???
    Becoz it threw me error when I imported the 11g designed bpel wsdl...
    --Marias                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to generate .wsdl for a portlet?

    Dear all,
    I would like to publish a portlet, say portlet_x, as a web service, so it can be accessed by remote portlets. This is my first post here, and appreciate very much if someone can help me out.
    My understanding is that I need to make portlet_x a producer. So I followed this document:
    http://e-docs.bea.com/wlp/docs81/wsrp/workprod.html#1001012
    The wsrp-producer-config.xml was successfully generated. Then I tried to a remote portlet to access portlet_x. However, portlet_x doesn't appear in the portlet lists retrived by:
    http://localhost:7001/sampleportal/producer?WSDL
    The reason is probably because there is no wsdl file for portlet_x. What might I miss here? Any help is greatly appreciated.
    Thanks in advance.
    Omega

    Subbu, can you be more specific on this topic. i'm having problem even to read WSDL generated by BEA producer. Trying to read WSDL using url http://myBEAmachine:7001/sampleportal/producer?WSDL failed for me with exception "Unable to resolve imported document at 'wlp_wsrp_v1_bindings.wsdl.'". I check generated WSDL and it refer above wsdl like this location="wlp_wsrp_v1_bindings.wsdl", which, as I understand, won't work if consumer and producer are on the different machines. FYI, I'm using wsdl4j to read the wsdl speicified by url as follows "http://myBEAmachine:7001/sampleportal/producer?WSDL"
    Message was edited by mikmela at Dec 30, 2004 4:48 PM

  • Looking for a printer that accept memory flushing

    Hello!
    I need a printer that is able to :
    cancel a printing job in the printer cause the job I want to send is a "high priority" job. 
    cancel all jobs even those coming from other computers
    I know that there are utilities that can cancel jobs but they only make possible to clear local computer queue. In fact I want a printer that has an interface (with a driver) to clear its memory to launch a new "high priority" job.
    Is there a printer that can do that?
    ps: I have CentOs 6.2 installed on my computers

    Generally such feature may not be available in printer hardware.  You may need an additional software/solution to support this function (if available).
    Please mark the post that solves your problem as Accepted Solution
    Click the 'Kudos Thumbs Up' if this was helpful. Thank You!
    (Although I am an HP employee, I am speaking for myself and not for HP)

  • Error: No data for binding key while generating WSDL

    Hello users,
    I have converted a custom rfc to webservice using Wizard tool. While generating WSDL file using Open WSDL document for selected binding of SOAMANAGER, i'm getting the error message 'No Data for Binding Key'.
    Can anyone let me know the solution to resolve this issue? Also, I could note that the Object Status for this sevice reads Services: 0 / Endpoints: 0
    Strangely, I tried to generate WSDL for another Custom Webservice and it did get generated but with 403 error page. and for this the Object Status read Services: 1 / Endpoints: 1.
    Any information with respect to this is appreciated.
    Thanks in advance.
    Regards,
    Naresh

    Hi Naresh,
    You have posted the question in the wrong forum, it should have been posted in Webdynpro.
    Cheers,
    Bhavana

  • AS can't generate WSDL

    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
    Martin

    Jose, 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.

  • Integration Repository SOA Gateway, not able to generate WSDL

    In Oracle R12.1.2, we are trying to generate WSDL for a pl/sql from "Integrated SOA Gateway" responsibility, we are getting the below error, can you help me in overcoming this issue.
    SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: ServiceGenerationError: Error in Service Generationoracle.jpub.Doit.main([Ljava.lang.String;, java.sql.Connection, oracle.jpub.mesg.AbstractMessages)' when attempting to perform 'GENERATE'. Please contact your System Administrator                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi!
    Did you encounter any error?Yes!
    >
    try givng C:\temp remember temp should have read and write permissions for the oracle applications o/s user(applmgr)Using c:\temp\test.log results in the following error while saving the log setting:
    An error has occurred!
    For input string: "10001:\temp\test.log"
    I can use whatever string I want, but as long as a ":" is included, I get that error.
    As for the user permissions. I installed the EBS using the standard Administrator account and this account is a member of Administrators and ora_dba.
    Best,
    Konrad

  • Problems running DII client for consuming webservices

    Hello webservices experts,
    am running into problems - when I try running my DII client for a webservice that I've successfully deployed on j2sdkee1.4.
    The exception goes like this
    java.rmi.RemoteException: JAXRPC.JAXRPCSERVLET.28: Missing port information
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:462)
    I've searched this forum and others as well. Although a lot of people seem to be having this problem nobody seems to have got it solved. Any way out? The client is a mere copy paste of the DII client example in j2eetutorial 1.4

    Solved it ! Some endpoint alias problem during deployment ! Now works fine !

  • Generate audio for the text

    Hi,
    Can i generate audio for any text that i wirte in a javafx stage?.

    Either you provide pre-recorded sound files with your app (like most people do) or you can try to go experimental and give Java Speech a try [http://java.sun.com/products/java-media/speech/] (I have yet to see an app that use that API).

  • How to generate WS and WSDL for proper working DS under ALDSP 3.0?

    Hi,
    Ive got small problem with generating WebService and WSDL for proper working DataService in AL Data Service Studio.
    Whats the worse, I cant find any good documentation showing how to do it step by step in the new development enviroment.
    Currently Im doing it like:
    1) right click on DS and then Create Web Service Map
    2) when Im trying to View WSDL for created (in previous point) WS Map, after a while for deployment, I get Error 404--Not Found
    3) when Im trying to Save WSDL As ... , after showing where it should to be saved, nothing happens
    4) At Test Web Service Map option Ive got (in ZIP archive there is error trace from WebLogic console):
    http://localhost:7001/xyz/abc/test/something.ws?WSDL
    failed due to weblogic.testclient.WsdlParseFailedException: Not Found
    My questions are:
    i) how I can generate WS for DS?
    ii) when there will be some tutorials to download for ALDSP 3.0?

    Some new facts about this situation.
    A moment ago Ive made all the things like in edocs:
    http://edocs.bea.com/aldsp/docs30/install/migration.html#wp1081343
    After that problems still exists and what is the worst - the same problem as at the first time.
    So:
    1) Problem of not migrated kind="private" to visibility="private"
    2) Problem of migrating the files encoded in CP1250 if they got charakters encoded in CP1250
    3) I know that proces of migration from multiple imports to the same namespace within XSDs must be done in manual way but problem still exist
    4) There are some issue like this:
    "[ld:xXx_PIDataServices/cache/order/order.ds]: The return type of the read function "{ld:xXx_PIDataServices/cache/order/order}setOrderStatus" with arity 1 does not match the Data Service target (element) type "{services.cache.integration.amg}setOrderOut"."
    When I remove kind="read" from pragma then its going to be valid.
    In short time we will try to contact with our local BEA support.
    PS Right now I was trying to import another project (sample one for Workshop 8.1 - <BEA_HOME>\weblogic81\samples\workshop\SamplesApp) and it also didnt go smoothly :/
    Edited by PiotrGalas at 02/01/2008 4:20 AM

Maybe you are looking for

  • Audio Probelms with some DVDS/BLU-RAY discs when using optical out to Audigy 2

    I have my PS3 connected to my Audigy 2 ZS soundcard via optical?cable to play 5. sound on my PC sound system (Klipsch Promedia Ultra 5.). I have finally successfully played discrete 5. sound with some DVDs. I have changed my optical out setting to bi

  • Bucket start/end for a concrete date

    Hi, Is there a FM to know bucket start date for a particular date (for a combination product/location) ? Thanks

  • Easy cost planning in Project & sales pricing

    Dear All When i was trying to create easy cost planning from project, I am uable to get the costing variant. I have done basic settings.But the same is not working properly Kindly advise me how do i do this? I need to create easy cost planning from p

  • Multiple photo changes in Faces

    Hi, I'm wondering if there's a way to let Aperture know that multiple images do not have faces associated with them instead of going thru and un-clicking each face Aperture detects. For example, I took hundreds of pictures in a sumo wrestling tournam

  • Table for SAP NOTEs

    Hi friends!! May i know is there any table that gives any info about the NOTES .