WS-I Basic Profile 1.0

Hi,
I have been looking at various platforms for implementing Web services. I'm a little confused as to what supporting 'WS-I Basic Profile 1.0' actually means.
For example, the JWSDP and IBM's WSDK both claim to support the profile. But is it the implementation of the specifications (e.g. JAX-RPC) that support the profile, or the specifications themselves (e.g. the JAX-RPC specs.)?

At least for JAX-RPC SI, the product supports BP 1.0, at least in the next
release of the JWSDP as BP 1.0 wasn't approved until a couple releses ago.

Similar Messages

  • SOAP encoding and Basic Profile 1.0

    Hi,
    The Basic Profile 1.0 forbids SOAP encoding, yet Bea WebLogic documentation mentions
    that RPC-oriented WebLogic Web Service operations use SOAP encoding.
    Am I missing something here (since Bea supports the Basic Profile 1.0) ?
    thanks
    Vasu

    Hello,
    The WS-I work constrains the various web service specification to a
    functional subset that exhibit the greatest degree of interoperability;
    certainly there are many other features (quality of service, security,
    attachments, etc.) that are provided by WebLogic web services; this does
    not negate the fact that BP 1.0 compliance can be easily achieved.
    Regards,
    Bruce
    Vasudev Kumarjiguda wrote:
    >
    Hi,
    The Basic Profile 1.0 forbids SOAP encoding, yet Bea WebLogic documentation mentions
    that RPC-oriented WebLogic Web Service operations use SOAP encoding.
    Am I missing something here (since Bea supports the Basic Profile 1.0) ?
    thanks
    Vasu

  • WS-I basic profile

    Hi Experts,
    Could you please provide info on WS-I basic profile for webservice(wsdl)?
    Is XI supports the same?
    Regards
    Sara
    Edited by: Sara D on Jan 29, 2008 5:58 AM

    Hi
    WSDL 1.1 has broad industry support and is promoted by WS-I Basic Profile 1.0
    It is Supported by SAP Web AS 6.20
    Specifically, WS-I creates, promotes and supports generic protocols for the interoperable exchange
    of messages between Web Services. In this context, “generic protocols” are protocols that are
    independent of any action indicated by a message, other than those actions necessary for its
    secure, reliable and efficient delivery, and “interoperable” means suitable for multiple operating
    systems and multiple programming languages.
    SOAP 1.1 has broad industry support and is promoted by WS-I Basic
    Profile 1.0
    Please refer below link .. probably you might have already visted most of below links.....
    SAP Announces Support for WS-I Basic Profile 1.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c8fb890-0201-0010-879e-8996dd496c2c
    What Technology Standards Does NetWeaver Support?
    /people/kevin.liu/blog/2005/10/10/what-technology-standards-does-netweaver-support
    WS-I Basic Profile 1.0 - Why it matters?
    /people/kevin.liu/blog/2003/08/14/ws-i-basic-profile-10--why-it-matters
    SAP NetWeaver Process Integration - Overview of Supported Standards
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70b4f0ed-688c-2a10-36bf-a1a9b1a684c9
    Thanks
    Swarup

  • Firefox-session: Multiple Firefox profiles, shared with copy on write

    This is really just a simple hack, but read on if you are curious.
    Firefox allows the use of multiple profiles with different processes. This is useful to separate concerns or work contexts. For example one might have a profile for web surfing, and another for doing work related task and yet another for private projects, etc.
    However, setting up a new profile can be tedious, especially if one likes to use multiple extensions and customizations. A solution would be to set up a basic profile and copy it for each new profile. This is wasteful though. The approach presented here uses copy-on-write to share the major portion of the profiles and still allow for individual customizations on each new profile.
    More info and shell script can be found here: https://github.com/jotrk/firefox-session/

    I start one copy in first window with -no-remote and the other three with -no-remote.
    However default FF seems to be running when all the others are shut down.
    My detail notes are below
    Multiple versions of Firefox
    As I have implemented the multiple desktop feature of Windows see http://technet.microsoft.com/en-us/sysinternals/cc817881 and this allows you to run multiple copies of Internet Explorer, but as Firefox is my preferred browser I wanted to be able to use that in any of the four virtual desktop.
    Initially I had two profiles for Firefox default user and Default User.
    I have changed the name on default user to fourth desktop and created three others first, second and third desktop.
    I have set up now five short cuts which are set up with the name of the profile and also in three cases –no-respond
    So for the first desktop I have
    "C:\Program Files\Mozilla Firefox\firefox.exe" -P "first user"
    for the second
    "C:\Program Files\Mozilla Firefox\firefox.exe" -P "second user" -no-remote
    and similar for the third and fourth
    The fifth shortcut is
    "C:\Program Files\Mozilla Firefox\firefox.exe" –P
    and enables me to start any profile.
    I can start and make enquiries on four versions of Firefox on the four desktops BUT if there is a link from a document or email an error message comes up saying Firefox is already running.
    Another interesting thing is that even when all copies of Firefox are shut down and I try to start the default profile it says that it is already running.

  • User's profile portlet - security

    Hi,
    I’m working on a user’s profile portlet (JSR286) to show basic profile info. like name, phone and etc. The user will need to log in to WC Spaces.
    1.     Has anyone have experiences in setting up security to pass the profile to the portlet?
    2.     Can someone see others’ profile in Spaces?
    Regards,
    Will

    Are you auditing ALTER USER statements? I don't believe 11.2 does that by default. If you're not auditing ALTER USER (and you haven't coded some alternate mechanism like a DDL trigger), Oracle generally won't record who changed a profile or when it was changed.
    If you're really desperate, you could potentially use LogMiner to go through the archived logs generated over the time frame when the change might have been made to find the ALTER USER statement in the redo logs. But that's generally a pile of work particularly if the potential time frame is large enough that you have to try to restore the archived logs from tape in order to mine them.
    Justin

  • Profiles not applied?

    Having some frustration with AC 1.7, using a new iMac mini with OS X 10.10. I am attempting to set up a "master" backup to apply to a number of other iPads( 32 GB Air using ver. 8.1).
    All our iPads have been prepared in AC, and I have made a backup of the unit that I would like to apply to all iPads. I have also made & enabled a basic profile for WiFi settings and to set restrictions. However, when I connect an iPad and allow it to refresh, my restrictions are not reliably transferred. Am I missing something? Am I correct in assuming the profile settings should be installed (as long as I check the box next to the profile name)? We are deploying 10 units now, so the restrictions can be managed manually, but we plan to ramp up our device inventory as soon as possible. Have been following the Configurator guide- but still having difficulties. Any insight would be greatly appreciated, thanks in advance!

    Hi,
    How about your problem now? How many system encounter this problem? Is all policy couldn't be applied? Is there any feedback when using gpresult to check policy applied status?
    As Group Policy applies after user identity authentication, generally speaking, user logoff and back doesn't helpful with this problem.
    When this problem occures, have you checked event log if it identify this problem?
    Roger Lu
    TechNet Community Support

  • VisualVM standalone won't attach, but NetBeans profiler will

    I have a JDK1.5 app that I want to profile with VisualVM. I have started the app using the following JVM parameter:
    -agentpath:"C:\Program Files\VisualVM\profiler3\lib\deployed\jdk15\windows\profilerinterface.dll=\"C:\Program Files\VisualVM\profiler3\lib\"",3333The app starts, with the message that it is listening on port 3333 awaiting connection. Now if I configure VisualVM to look to port 3333 under jstatd connections, it attempts to connect but the remote app dies with the following error:
    Profiler Agent Error: Exception when trying to establish connection with client:
    java.io.StreamCorruptedException: invalid stream headerThe same thing happens if I try to create a jmx connection to localhost:3333.
    Now the weird thing is if I configure netbeans profiler to connect to port 3333 and attempt to profile this application, it works fine. My question is, what is the difference between the two. I have tried connecting with VisualVM 1.1.1 and 1.2.1 and neither work.

    Hi,
    VisualVM can only profile local applications running on JDK 6. If you enable [JMX agent|http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html] in your application, you can "profile" your application with [VisualVM-Sampler plugin|http://java.dzone.com/announcements/visualvm-12-great-java] available for VisualVM 1.2.1. Note that VisualVM is a Java monitoring and troubleshooting tool - it detects and recognizes running applications, browses their MBeans, takes thread and heap dumps, shows VM configuration and metrics and saves these information into application snapshots. It uses four different technologies (Jvmstat, JMX, Attach API and Serviceablity agent) to extract useful information from running JVM and present them in the one integrated view. It also provides basic profiling capabilities, but that's just one of the features. If you need a full-featured mature Java profiler for your daily development use NetBeans Profiler.
    Bye.

  • Regd: Security Profile

    Dear All,
    i am working as a Associate Conultant. i want to know the basic profile to learn Security. what all the acitivities Security consultant will do other than assigneding  Authroization thro pfcg or su53.  i went through AMD940 ,AMD950.
    Regards
    shankar.

    Hi Shankar,
    I answered a similar question a while back which you can see in this link
    SAP Security Consultants
    It contains a (not comprehensive) list of things that a security person might be involved with depending on the role within a department or a project.

  • Error while deploying process component

    I have created a wsdl (asynchorous mode) to start the process flow. But while deploying it is giving the error.
    I did remove all the reference to output from the wsdl structure. This is in CE 7.2
    Error log:
    Status ERROR
    Plugin : com.sap.ide.tools.services
    code=0
    Deployment problems
    children=[
    Status ERROR
    Plugin : com.sap.ide.tools.services
    code=0
    Deploy Exception.
    com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
    Reason: ASJ.dpl_dc.001085 An error occurred while deploying the deployment item [xxx.com_dc_mcr_process].
    ; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [xxx.com_dc_mcr_process]. Cannot deploy it.
    at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:891)
    at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
    at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:104)
    at com.sap.ide.tools.services.dc.EngineDcDeployService.deployFiles(EngineDcDeployService.java:162)
    at com.sap.ide.tools.services.dc.EngineDcDeployService.deploy(EngineDcDeployService.java:85)
    at com.sap.ide.dii05.ui.internal.actions.dc.DcDeployAction$3.run(DcDeployAction.java:234)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Nested exceptions :com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 An error occurred while deploying the deployment item [xxx.com_dc_mcr_process].
    ; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [xxx.com_dc_mcr_process]. Cannot deploy it.
    atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:244)
    atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:62)
    atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:273)
    atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)
    atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:95)
    atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)
    atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:315)
    Nested exceptions :com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [xxx.com_dc_mcr_process]. Cannot deploy it.
    atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:134)
    atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:130)
    atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:57)
    atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:210)
    atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:62)
    atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:273)
    atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)
    atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:95)
    atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)
    atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:315)
    Nested exceptions :com.sap.engine.services.deploy.server.utils.DSRemoteException: ASJ.dpl_ds.006193 Error while deploying ear file D:\usr\sap\RCE\J00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\357\xxx.com~dc_mcr_process.sda; nested exception is:
         java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occurred during web services deployment. Unable to extract web services deployment data for archive xxx.com~dc_mcr_process.wsar, application xxx.com/dc_mcr_process.
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:293)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:254)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.init(WSDeployProcess.java:163)
         at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:320)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deployWebServices(WebServicesDeployManager.java:1052)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deploy(WebServicesDeployManager.java:271)
         at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:273)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:577)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:296)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:211)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:697)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:755)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2198)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:394)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:347)
         at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:116)
         at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:130)
         at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:57)
         at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:210)
         at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:273)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)
         at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:95)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:315)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: WSDL is containing document/literal operations which does not conform with WS-I Basic Profile 1.0 R2204.
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.checkWSIConformance(ProxyGeneratorNew.java:4152)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.processSOAPBinding(ProxyGeneratorNew.java:3969)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.initSEI(ProxyGeneratorNew.java:3547)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.initInterfaceMappings(ProxyGeneratorNew.java:912)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:342)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptor(WSAltConvertor.java:228)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptors(WSAltConvertor.java:202)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertWebServicesJ2EEEngineAltDescriptors(WSAltConvertor.java:182)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convert(WSAltConvertor.java:128)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:276)
         ... 26 more
    Edited by: Mahesh K on Dec 15, 2010 1:28 PM

    Hi Mahesh,
    I see the below in your trace
    "WSDL is containing document/literal operations which does not conform with WS-I Basic Profile 1.0 R2204"
    wsdl:part for a document-literal message must use the "element" attribute.Check your WSDL once , change the input XSD file if needed and reimport.
    Regards, Anil

  • Can I create PAdES signature using Adobe Acrobat 8.0 or 9.0?

    Hi
    Can I create PAdES (PDF Advanced Electronic Signatures, Technical Specification ETSI TS 102 778) signature using Adobe Acrobat 8.0 or 9.0?
    ETSI Technical Specification (TS) 102 778 contains five parts:
    • Part 1: PAdES Overview – a framework document for PAdES
    • Part 2: PAdES Basic – Profile based on ISO 32000-1
    • Part 3: PAdES Enhanced – PAdES-Basic Electronic Signatures and PAdES-Explicit Policy Electronic Signatures Profiles
    • Part 4: PAdES Long Term – PAdES-Long Term Validation Profile
    • Part 5: PAdES for XML Content – Profiles for XAdES signatures of XML content in PDF files
    All five parts were published on 31 July 2009.
    Thanks for answer.
    Dragan

    Hi,
    The short answer is yes.
    Acrobat 8 and later support all of requirements of PAdES such as serial signing, long term validation (time stamping and embedded revocation responses) and signatures in the PKCS#7 format.
    Steve

  • Error while publishing thru Service registry

    Hi friends
    While publishing service thru service registry, I am getting this error message.
    Any Solution?
    Thanks
       -Mitesh
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationException: Cannot load WSDL due to "Invalid Response Code: (401) Unauthorized. The requested URL was:"http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1"". Check that the specified WSDL URL "http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1" points to WS-I Basic Profile 1.1 compliant WSDL Definitions file->com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationException: Cannot load WSDL due to "Invalid Response Code: (401) Unauthorized. The requested URL was:"http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1"". Check that the specified WSDL URL "http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1" points to WS-I Basic Profile 1.1 compliant WSDL Definitions file->com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationMessage: Cannot load WSDL due to "Invalid Response Code: (401) Unauthorized. The requested URL was:"http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1"". Check that the specified WSDL URL "http://host:8000/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC1?sap-client=001&wsdl=1.1" points to WS-I Basic Profile 1.1 compliant WSDL Definitions file

    Hello Mitesh
    Would this forum question be interesting for you?
    [ESR post-installation tasks are missing|ESR post-installation tasks are missing]
    regards
    Rathish

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Multiple Users setup question

    OK, It's been a while since I set up anything other than a basic profile in OS 9, but here is what I have. School situation with users with limited capabilities (Multiple Handicap class). Students just need access to basic applications that are installed on the local machine. There is one application that needs program access to a shared database on a network sharepoint, not user specific access, just general read/write to the records. Students have very inquisitive minds. They will explore anything they find, so all they need to actually see is the applications they need and the local documents folder for file saving. I set up just 1 local generic "student" limited user and set for "panels view" specifying which applications show up. I have forgotten how to set up the network share point access so it is mounted automatically at application launch (remembering password). It always asks for the keychain password. Also, once the sharepoint is mounted, a new panel appears with all the folders in that network directory visible. I need to have that sharepoint remain "invisible" to the users so they aren't able to tamper with the files. Any help you can give would be greatly appreciated. The kids are really missing their computers right now.
    Thanks
    Early iMac   Mac OS 9.2.x   Old, but still do what we need

    Did you check the OS Help Menu for instructions? In the search field type Multiple Users. Sorry, I forgot myself.
    If not, then you may find what you are looking for at the following website: Paranoia & Security

  • Netbeans creating wsdl file having message with more than one part...

    Hi,
    I am using netbeans 6.0.1. I made an xml schema, then I wanted to make an wsdl that uses that schema.
    I wanted to put in a message more parts(3), and it would not let me. Then, i made the message with just one part, and added the other parts afterwards.
    But now, when I try to make a web service from that wsdl, it says that there is no service in the specified wsdl file.
    And if i let that message with just one part, it will make the Web Service.
    here is the xml schema and the wsdl file:
    XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/Abruf38"
    xmlns:tns="http://xml.netbeans.org/schema/Abruf38"
    elementFormDefault="qualified">
    <xsd:complexType name="FormRequest">
    <xsd:sequence>
    <xsd:element name="newRequest" type="xsd:boolean"/>
    <xsd:element name="requestNumber" type="xsd:int"/>
    <xsd:element name="vehicleClass" type="xsd:string"/>
    <xsd:element name="vehiclesNumber" type="xsd:int"/>
    <xsd:element name="prefferedType" type="xsd:string"/>
    <xsd:element name="kombi" type="xsd:boolean"/>
    <xsd:element name="usageMission" type="xsd:boolean"/>
    <xsd:element name="usageEducation" type="xsd:boolean"/>
    <xsd:element name="usageGeneral" type="xsd:boolean"/>
    <xsd:element name="usageOthers" type="xsd:string"/>
    <xsd:element name="eqVehicle" type="xsd:boolean"/>
    <xsd:element name="eqDangerous" type="xsd:boolean"/>
    <xsd:element name="eqPlaneSpriegel" type="xsd:boolean"/>
    <xsd:element name="eqBegrstll" type="xsd:boolean"/>
    <xsd:element name="eqMSitzBTruck" type="xsd:boolean"/>
    <xsd:element name="eqVerzurrAusst" type="xsd:boolean"/>
    <xsd:element name="eqOthers" type="xsd:string"/>
    <xsd:element name="bringService" type="xsd:boolean"/>
    <xsd:element name="holService" type="xsd:boolean"/>
    <xsd:element name="chauffService" type="xsd:boolean"/>
    <xsd:element name="otherService1" type="xsd:string"/>
    <xsd:element name="otherService1Chk" type="xsd:boolean"/>
    <xsd:element name="otherService2" type="xsd:string"/>
    <xsd:element name="otherService2Chk" type="xsd:boolean"/>
    <xsd:element name="otherService3" type="xsd:string"/>
    <xsd:element name="otherService3Chk" type="xsd:boolean"/>
    <xsd:element name="activity" type="xsd:string"/>
    <xsd:element name="costPayer" type="xsd:string"/>
    <xsd:element name="costCenter" type="xsd:string"/>
    <xsd:element name="vehicleCost" type="xsd:float"/>
    <xsd:element name="chauffServiceCost" type="xsd:float"/>
    <xsd:element name="holBringServiceCost" type="xsd:float"/>
    <xsd:element name="totalCost" type="xsd:float"/>
    <xsd:element name="tripPurpose" type="xsd:string"/>
    <xsd:element name="fixTermin" type="xsd:boolean"/>
    <xsd:element name="justificationFix" type="xsd:string"/>
    <xsd:element name="requestID" type="xsd:string"/>
    <xsd:element name="rentalPeriod" type="tns:RentalPeriod"/>
    <xsd:element name="carPool" type="tns:CarPool"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CarPool">
    <xsd:sequence>
    <xsd:element name="poolID" type="xsd:string"/>
    <xsd:element name="poolName" type="xsd:string"/>
    <xsd:element name="orgNumber" type="xsd:string"/>
    <xsd:element name="vehicle" maxOccurs="unbounded" type="tns:Vehicle"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="RentalPeriod">
    <xsd:sequence>
    <xsd:element name="rentalPeriodID" type="xsd:string"/>
    <xsd:element name="startDate" type="xsd:date"/>
    <xsd:element name="endDate" type="xsd:date"/>
    <xsd:element name="startTime" type="xsd:time"/>
    <xsd:element name="endTime" type="xsd:time"/>
    <xsd:element name="startLocation" type="xsd:string"/>
    <xsd:element name="endLocation" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Vehicle">
    <xsd:sequence>
    <xsd:element name="vehicleID" type="xsd:string"/>
    <xsd:element name="vehicleClass" type="xsd:string"/>
    <xsd:element name="vehicleRegisterNo" type="xsd:int"/>
    <xsd:element name="vehicleType" type="xsd:string"/>
    <xsd:element name="seatsNumber" type="xsd:int"/>
    <xsd:element name="cost" type="xsd:float"/>
    <xsd:element name="available" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Contact">
    <xsd:sequence>
    <xsd:element name="contactID" type="xsd:string"/>
    <xsd:element name="contactName" type="xsd:string"/>
    <xsd:element name="telNumber" type="xsd:int"/>
    <xsd:element name="faxNumber" type="xsd:int"/>
    <xsd:element name="loNo" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Person">
    <xsd:sequence>
    <xsd:element name="personID"/>
    <xsd:element name="department" type="xsd:string"/>
    <xsd:element name="serviceNumber" type="xsd:int"/>
    <xsd:element name="contact" type="tns:Contact"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Department">
    <xsd:sequence>
    <xsd:element name="departmentID" type="xsd:string"/>
    <xsd:element name="fundsDepartment" type="xsd:string"/>
    <xsd:element name="mvwdst" type="xsd:int"/>
    <xsd:element name="distributionNumber" type="xsd:int"/>
    <xsd:element name="contact" type="tns:Contact"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="formRequestElement" type="tns:FormRequest"/>
    <xsd:element name="personElement" type="tns:Person"/>
    <xsd:element name="departmentElement" type="tns:Department"/>
    <xsd:element name="vehicle" type="tns:Vehicle"/>
    <xsd:element name="loadFormReturn" type="xsd:boolean"/>
    <xsd:element name="editFormReturn" type="xsd:boolean"/>
    </xsd:schema>
    Wsdl File:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="userWS" targetNamespace="http://j2ee.netbeans.org/wsdl/userWS"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://xml.netbeans.org/schema/Abruf38" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://j2ee.netbeans.org/wsdl/userWS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/userWS">
    <xsd:import namespace="http://xml.netbeans.org/schema/Abruf38" schemaLocation="Abruf38.xsd"/>
    </xsd:schema>
    </types>
    <message name="loadFormRequest">
    <part name="formRequest" element="ns:formRequestElement"/>
    <part name="person" element="ns:personElement"/>
    <part name="department" element="ns:departmentElement"/>
    </message>
    <message name="loadFormReply">
    <part name="retVal" element="ns:loadFormReturn"/>
    </message>
    <portType name="userWSPortType">
    <operation name="loadForm">
    <input name="input1" message="tns:loadFormRequest"></input>
    <output name="output1" message="tns:loadFormReply"/>
    </operation>
    </portType>
    <binding name="userWSBinding" type="tns:userWSPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loadForm">
    <soap:operation/>
    <input name="input1">
    <soap:body use="literal"/>
    </input>
    <output name="output1">
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="userWSService">
    <port name="userWSPort" binding="tns:userWSBinding">
    <soap:address location="http://localhost:18181/userWSService/userWSPort"/>
    </port>
    </service>
    <plnk:partnerLinkType name="userWS1">
    <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
    In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
    A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
    <plnk:role name="userWSPortTypeRole" portType="tns:userWSPortType"/>
    </plnk:partnerLinkType>
    </definitions>
    The message that Netbeans says when trying to put more parts to the message is:
    WS-I Basic Profile Rule R2210: If a document-literal binding in a DESCRIPTION does not specify the parts attribute on a soapbind:body element, the corresponding abstract wsdl:message MUST define zero or one wsdl:parts.
    Please...I am desperate, cause I am pressed by time!
    Can anyone tell me how can I make it work. Cause it is very common to use a Web service operation that has more than ONE parameter.
    I am waiting for your replys!

    Hi,
    Change the <soap:binding style="document"... to <soap:binding style="rpc"... and see if that works.
    I'm not sure how to get <soap:binding style="document"... working yet - I'm not that experienced in web services yet.
    Hope this helps and is not too late.
    Regards,
    Greg Nye

  • Document/literal  WS w/ multipart attachment on OC4J 10.1.3/10.1.2

    Hi all,
    I am wondering if OC4J 10.1.3 or 10.1.2 can handle document/literal Web Service with multipart attachment using JAX-RPC API.
    I have created a prototype which does doc/lit WS with text/plain attachment without any problems on OC4J 10.1.3 DP 4.
    But, no luck with multipart/related attachment. Our messaging system is designed that the first part is the SOAP envelope.
    The second part is a multipart message, which could be nested.
    Page 19-9 of Oracle Application Server Web Services Developer's Guide 10g Release 3 (10.1.3) B14434-01 (Sep. 2005)
    does not have the multipart/* support for SWA attachment. It covers image/jpeg, image/gif, image/tif, text/plain, application/plain and text/xml.
    Does anyone know if multipart is supported? Can you provide a working example please?
    many thanks in advance !
    ---------WSDL ----------
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions      xmlns="http://schemas.xmlsoap.org/wsdl/"           
              xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd"
              xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
              xmlns:tns="http://service.topdown/"
              name="bank"
              targetNamespace="http://service.topdown/">
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
                   elementFormDefault="qualified"
                   targetNamespace="http://service.topdown/">
                   <xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd"
                        schemaLocation="http://mypc.company.com/xml/ws-i-basic-profile-1.1.xsd" /> <!-- TEMPORARY LOCATION TO AVOID PROXY SETUP -->
                   <complexType name="createAccount">
                        <sequence>
                             <element name="acctName" nillable="true" type="string"/>
                             <element name="initBalance" type="float"/>
                        </sequence>
                   </complexType>
                   <complexType name="createAccountResponse">
                        <sequence>
                             <element name="result" nillable="true" type="string"/>
                        </sequence>
                   </complexType>
                   <complexType name="AccountException">
                        <sequence>
                             <element name="message" nillable="true" type="string"/>
                        </sequence>
                   </complexType>
                   <complexType name="deposit">
                        <sequence>
                             <element name="acctID" nillable="true" type="string"/>
                             <element name="amount" type="float"/>
                        </sequence>
                   </complexType>
                   <complexType name="depositResponse">
                        <sequence/>
                   </complexType>
                   <complexType name="getAccountID">
                        <sequence>
                             <element name="acctName" nillable="true" type="string"/>
                        </sequence>
                   </complexType>
                   <complexType name="getAccountIDResponse">
                        <sequence>
                             <element name="result" nillable="true" type="string"/>
                        </sequence>
                   </complexType>
                   <complexType name="getBalance">
                        <sequence>
                             <element name="acctID" nillable="true" type="string"/>
                             <element name="acctName" nillable="true" type="string"/>
                        </sequence>
                   </complexType>
                   <complexType name="getBalanceResponse">
                        <sequence>
                             <element name="result" type="float"/>
                        </sequence>
                   </complexType>
                   <complexType name="withdraw">
                        <sequence>
                             <element name="acctID" nillable="true" type="string"/>
                             <element name="amount" type="float"/>
                        </sequence>
                   </complexType>
                   <complexType name="withdrawResponse">
                        <sequence/>
                   </complexType>
         <!-- Added from attachment xsd -->               
                   <complexType name="ClaimDetailType">
                        <xsd:sequence>
                             <element name="Name" type="xsd:string"/>
                             <element name="ClaimForm" type="ref:swaRef"/>
                        </xsd:sequence>
                   </complexType>
                   <element name="claimDetailElement" type="tns:ClaimDetailType"/>
                   <element name="claimResponseElement" type="ref:swaRef"/>
         <!-- End of from attachment xsd -->               
                   <element name="createAccountElement" type="tns:createAccount"/>
                   <element name="createAccountResponseElement" type="tns:createAccountResponse"/>
                   <element name="AccountExceptionElement" type="tns:AccountException"/>
                   <element name="depositElement" type="tns:deposit"/>
                   <element name="depositResponseElement" type="tns:depositResponse"/>
                   <element name="getAccountIDElement" type="tns:getAccountID"/>
                   <element name="getAccountIDResponseElement" type="tns:getAccountIDResponse"/>
                   <element name="getBalanceElement" type="tns:getBalance"/>
                   <element name="getBalanceResponseElement" type="tns:getBalanceResponse"/>
                   <element name="withdrawElement" type="tns:withdraw"/>
                   <element name="withdrawResponseElement" type="tns:withdrawResponse"/>
              </schema>
         </types>
         <message name="BankService_depositResponse">
              <part name="parameters" element="tns:depositResponseElement"/>
         </message>
         <message name="BankService_deposit">
              <part name="parameters" element="tns:depositElement"/>
         </message>
         <message name="AccountException">
              <part name="AccountExceptionElement" element="tns:AccountExceptionElement"/>
         </message>
         <message name="BankService_createAccount">
              <part name="parameters" element="tns:createAccountElement"/>
         </message>
         <message name="BankService_withdrawResponse">
              <part name="parameters" element="tns:withdrawResponseElement"/>
         </message>
         <message name="BankService_createAccountResponse">
              <part name="parameters" element="tns:createAccountResponseElement"/>
         </message>
         <message name="BankService_getBalance">
              <part name="parameters" element="tns:getBalanceElement"/>
         </message>
         <message name="BankService_getAccountIDResponse">
              <part name="parameters" element="tns:getAccountIDResponseElement"/>
         </message>
         <message name="BankService_withdraw">
              <part name="parameters" element="tns:withdrawElement"/>
         </message>
         <message name="BankService_getAccountID">
              <part name="parameters" element="tns:getAccountIDElement"/>
         </message>
         <message name="BankService_getBalanceResponse">
              <part name="parameters" element="tns:getBalanceResponseElement"/>
         </message>
         <!-- Added from attachment xsd -->               
         <message name="ClaimIn">
              <part name="ClaimDetail" element="tns:claimDetailElement"/>
         </message>
         <message name="ClaimOut">
              <part name="ClaimRefNo" element="tns:claimResponseElement"/>
         </message>
         <!-- Added from attachment xsd -->               
         <portType name="BankService">
              <documentation>A service that provides banking operations for client applications.</documentation>
              <operation name="SendClaim">
                   <input message="tns:ClaimIn"/>
                   <output message="tns:ClaimOut"/>
              </operation>
              <operation name="createAccount">
                   <documentation>Creates a banking account.</documentation>
                   <input message="tns:BankService_createAccount"/>
                   <output message="tns:BankService_createAccountResponse"/>
                   <fault name="AccountException" message="tns:AccountException"/>
              </operation>
              <operation name="deposit">
                   <documentation>Performs a bank deposit.</documentation>
                   <input message="tns:BankService_deposit"/>
                   <output message="tns:BankService_depositResponse"/>
                   <fault name="AccountException" message="tns:AccountException"/>
              </operation>
              <operation name="getAccountID">
                   <documentation>Retrieves an account ID.</documentation>
                   <input message="tns:BankService_getAccountID"/>
                   <output message="tns:BankService_getAccountIDResponse"/>
                   <fault name="AccountException" message="tns:AccountException"/>
              </operation>
              <operation name="getBalance">
                   <documentation>Retrieves an account balance.</documentation>
                   <input message="tns:BankService_getBalance"/>
                   <output message="tns:BankService_getBalanceResponse"/>
                   <fault name="AccountException" message="tns:AccountException"/>
              </operation>
              <operation name="withdraw">
                   <documentation>Withdraws funds from a bank account.</documentation>
                   <input message="tns:BankService_withdraw"/>
                   <output message="tns:BankService_withdrawResponse"/>
                   <fault name="AccountException" message="tns:AccountException"/>
              </operation>
         </portType>
         <binding name="BankServicePortBinding" type="tns:BankService">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="SendClaim">
                   <soap:operation soapAction="http://example.com/soapaction"/>
                   <input>
                        <mime:multipartRelated>
                             <mime:part>
                                  <soap:body use="literal" parts="ClaimDetail" namespace="http://example.com/mimetypes"/>
                             </mime:part>
                        </mime:multipartRelated>
                   </input>
                   <output>
                        <mime:multipartRelated>
                             <mime:part>
                                  <soap:body use="literal" namespace="http://example.com/mimetypes"/>
                             </mime:part>
                        </mime:multipartRelated>
                   </output>
              </operation>
              <operation name="createAccount">
                   <soap:operation soapAction="http://service.topdown/:createAccount"/>
                   <input>
                        <soap:body use="literal" parts="parameters"/>
                   </input>
                   <output>
                        <soap:body use="literal" parts="parameters"/>
                   </output>
                   <fault name="AccountException">
                        <soap:fault name="AccountException" use="literal" encodingStyle=""/>
                   </fault>
              </operation>
              <operation name="deposit">
                   <soap:operation soapAction="http://service.topdown/:deposit"/>
                   <input>
                        <soap:body use="literal" parts="parameters"/>
                   </input>
                   <output>
                        <soap:body use="literal" parts="parameters"/>
                   </output>
                   <fault name="AccountException">
                        <soap:fault name="AccountException" use="literal" encodingStyle=""/>
                   </fault>
              </operation>
              <operation name="getAccountID">
                   <soap:operation soapAction="http://service.topdown/:getAccountID"/>
                   <input>
                        <soap:body use="literal" parts="parameters"/>
                   </input>
                   <output>
                        <soap:body use="literal" parts="parameters"/>
                   </output>
                   <fault name="AccountException">
                        <soap:fault name="AccountException" use="literal" encodingStyle=""/>
                   </fault>
              </operation>
              <operation name="getBalance">
                   <soap:operation soapAction="http://service.topdown/:getBalance"/>
                   <input>
                        <soap:body use="literal" parts="parameters"/>
                   </input>
                   <output>
                        <soap:body use="literal" parts="parameters"/>
                   </output>
                   <fault name="AccountException">
                        <soap:fault name="AccountException" use="literal" encodingStyle=""/>
                   </fault>
              </operation>
              <operation name="withdraw">
                   <soap:operation soapAction="http://service.topdown/:withdraw"/>
                   <input>
                        <soap:body use="literal" parts="parameters"/>
                   </input>
                   <output>
                        <soap:body use="literal" parts="parameters"/>
                   </output>
                   <fault name="AccountException">
                        <soap:fault name="AccountException" use="literal" encodingStyle=""/>
                   </fault>
              </operation>
         </binding>
         <service name="bank">
              <port name="BankServicePort" binding="tns:BankServicePortBinding">
                   <soap:address location="http://localhost:8888/bank/bank"/>
              </port>
         </service>
    </definitions>

    Thank you, Tim for your reply.
    I found the answer myself. :-)
    It's not the WSDL, it's the test program.
    You are suggesting SWA attachment, which works. But, I am looking for SWAref attachment, which could be referenced by a SOAP element (i.e. cid: )
    The client application builds a multipart, which has 1 text file and a jpeg file and sends
    the multipart with SOAP envelope. The server returns the multipart back to the client.
    Here is my client code:
         private void demoAttachment() throws Exception
              javax.xml.soap.MessageFactory mf = javax.xml.soap.MessageFactory.newInstance();
              javax.xml.soap.SOAPMessage msg = mf.createMessage();
              javax.xml.soap.AttachmentPart ap = msg.createAttachmentPart();
              ap.addMimeHeader("header1", "12/28/2005");
    //          ap.setContent("Hello world !", "text/plain"); // text/plain worked earlier
              MimeMultipart mmp = makeAttachment();
              ap.setContent(mmp, mmp.getContentType());
              javax.xml.soap.AttachmentPart ret = m_endpoint.sendClaim("John Smith", ap);
    private static MimeMultipart makeAttachment()
    MimeMultipart mp = new MimeMultipart();
    try {
    mp.setSubType("related");
    } catch (MessagingException e1) {
    e1.printStackTrace();
    MimeBodyPart body1 = new MimeBodyPart();
    try {
    DataHandler dh = new DataHandler(new FileDataSource(TEXT_FILE_NAME));
    body1.setDataHandler(dh);
    String ct = dh.getContentType();
    System.out.println("Content type: " + ct);
    body1.setHeader("Content-Type", ct);
    body1.setFileName("test.txt");
    mp.addBodyPart(body1);
    } catch (MessagingException e) {
    e.printStackTrace();
    MimeBodyPart body2 = new MimeBodyPart();
    try {
    DataHandler dh = new DataHandler(new FileDataSource(IMG_FILE_NAME));
    body2.setDataHandler(dh);
    String ct = dh.getContentType();
    System.out.println("Content type: " + ct);
    body2.setHeader("Content-Type", ct);
    body2.setFileName("test.jpg");
    mp.addBodyPart(body2);
    } catch (MessagingException e) {
    e.printStackTrace();
    return mp;
    -------- SOAP request and response -----------------------------------------
    TcpTunnelText: ready to rock and roll on port 5555
    TcpTunnelText: tunnelling port 5555 to port 8888 on host foo.bar.com
    POST /topDownBank/topDownBank HTTP/1.1
    Host: localhost:5555
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: "http://example.com/soapaction"
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: multipart/related;type="text/xml";boundary="----=_Part_1_33320514.1135808579711"
    Content-length: 15957
    ------=_Part_1_33320514.1135808579711
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:ns0="http://service.topdown/"
         xmlns:ns1="http://ws-i.org/profiles/basic/1.1/xsd">
         <env:Body>
              <ns0:claimDetailElement>
                   <ns0:Name>John Smith</ns0:Name>
                   <ns0:ClaimForm>cid:ID1@ClaimForm</ns0:ClaimForm>
              </ns0:claimDetailElement>
         </env:Body>
    </env:Envelope>
    ------=_Part_1_33320514.1135808579711
    Content-Type: multipart/related;
         boundary="------=_Part_0_32113234.1135808579336"
    header1: 12/28/2005
    Content-Id: <ID1@ClaimForm>
    ------=_Part_0_32113234.1135808579336
    Content-Type: text/plain; name=test.txt
    Content-Disposition: attachment; filename=test.txt
    Volume in drive C has no label.
    Volume Serial Number is DCD8-0D94
    Directory of C:\temp
    12/22/2005 03:57 PM <DIR> .
    12/22/2005 03:57 PM <DIR> ..
    03/04/2005 02:28 PM <DIR> 0128
    05/09/2005 09:10 PM 703 XMSTest1.java
    58 File(s) 237,395,939 bytes
    31 Dir(s) 49,375,744,000 bytes free
    ------=_Part_0_32113234.1135808579336
    Content-Type: image/jpeg; name=test.jpg
    Content-Disposition: attachment; filename=test.jpg
    (binary data removed from here ...)
    ------=_Part_0_32113234.1135808579336--
    ------=_Part_1_33320514.1135808579711--
    HTTP/1.1 200 OK
    Date: Wed, 28 Dec 2005 22:22:59 GMT
    Server: Oracle Containers for J2EE
    Content-Length: 15922
    Connection: Keep-Alive
    Keep-Alive: timeout=15, max=100
    Content-Type: multipart/related;type="text/xml";boundary="----=_Part_8_13238995.1135808579852"
    SOAPAction: ""
    ------=_Part_8_13238995.1135808579852
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:ns0="http://service.topdown/"
         xmlns:ns1="http://ws-i.org/profiles/basic/1.1/xsd">
         <env:Body>
         <ns0:claimResponseElement>cid:ID1@claimResponseElement</ns0:claimResponseElement>
         </env:Body>
    </env:Envelope>
    ------=_Part_8_13238995.1135808579852
    Content-Type: multipart/related;
         boundary="------=_Part_0_32113234.1135808579336"
    header1: 12/28/2005
    Content-Id: <ID1@claimResponseElement>
    ------=_Part_0_32113234.1135808579336
    Content-Type: text/plain; name=test.txt
    Content-Disposition: attachment; filename=test.txt
    Volume in drive C has no label.
    Volume Serial Number is DCD8-0D94
    Directory of C:\temp
    12/22/2005 03:57 PM <DIR> .
    12/22/2005 03:57 PM <DIR> ..
    03/04/2005 02:28 PM <DIR> 0128
    10/17/2005 03:54 PM 11,181,568 04_Tutorial_XMS_Webservices.doc
    05/09/2005 09:10 PM 703 XMSTest1.java
    58 File(s) 237,395,939 bytes
    31 Dir(s) 49,375,744,000 bytes free
    ------=_Part_0_32113234.1135808579336
    Content-Type: image/jpeg; name=test.jpg
    Content-Disposition: attachment; filename=test.jpg
    (binary data removed from here )
    ------=_Part_0_32113234.1135808579336--
    ------=_Part_8_13238995.1135808579852--
    Message was edited by:
    user457369

Maybe you are looking for

  • How to get selected value from a listbox

    Hi ! I use following code to fill in my LISTBOX with values : AT SELECTION-SCREEN OUTPUT.   val-key = 1.   val-text = '0016'.   APPEND val TO list_values.   val-key = 2.   val-text = '0028'.   APPEND val TO list_values.   val-key = 3.   val-text = '0

  • How to display page numbers in report

    hi all, i would like to know how to display page numbers in this format " 1 of 5" in the report. Any help would be much appreciated. thanks seema

  • Transparency Issues with PSD files in FCP 7

    I'm having some weird file layer transparency issues with FCP 7. I'm working on a project that's made up entirely of graphics drawn in Photoshop CS5. They Photoshop settings were done to match an HDTV 1080i (16:9) sequence in FCP. In FCP, the pixels

  • Profit Center Accounting in ECC 5.0

    We are on ECC 5.0 and having some issues with profit center accounting.  Is there any way that I can tell if Profit Center Accounting has been fully configured? If anyone has any documentation, I would greatly appreciate it. Here are the problems: 1.

  • Page not displaying the same on mobile

    When I view the page on a browser it displays fine however much i resize it, the main content stays in place, whereas when i open it on an iphone it is no longer displayed the same. http://dkphotos.net/Portfolio/Wedding%20Photography/Wedding%20Photog