Problems rotating or resizing complex object in drawing program

I am unable to rotate or resize a complex object created in drawing. Such object contains squares, rectangles and triangles. When I try all of the individual objects kinda go their own way and the total object is totally destroyed.
This effect occurs whether or not the set of objects is grouped.
Can someone please help?
Thanks
MacBookPro   Mac OS X (10.4.9)  

This effect occurs whether or not the set of
objects is grouped.
Are you sure that all the items were grouped? I
created a soda can with label and pop-top, duplicated
it 5 times, positioned them into a six-pack, and
grouped them. Whether rotated from the menu or from
the Object Size palette, the rotation is just as you
would expect. Neither the six-pack, nor the
individual cans, fly apart.
Yes I am sure. It doesn't really matter that your soda can doesn't fly apart. Some of my designs, basically the simplier ones, stay together. But the fact is that most of them do "fly apart" either through a rotation or through a resize. It is clearly some sort of bug that apparently has been around since the dawn of time and still has no fix. But thanks for comenting.
MacBookPro   Mac OS X (10.4.7)  

Similar Messages

  • Problem with some characters in complex objects

    Hi all,
    I've built a webservice which returns a complex object with several fields inside. All fields are public and accessable via getter and setter methods.
    The problem is, that some of these fields contains numbers or underscores in their names.
    For example:
    public int field_a;
    or
    public String house3of4;
    When I try to import these webservice as a model in a Web Dynpro project, it doesn't work until I remove these characters.
    Is this a known problem or is there any solution for it?
    Thanks
    Thomas

    NLS_LANG in registry is "ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256"
    I use oracle form 10g for developer
    oracle form 9i for database
    when I build a form in client side and make a text with farsi characters, when I run the form,all characters shows me correct in farsi except four characters(گ چ ژ پ)

  • Problem when resizing round objects

    Hello,
    I encounter a problem with scaling down round objects.
    Here's the issue in a nutshell:
    As you see when I scale down a cirle from size A to size B, the top and left sides of the circle B are flat.
    Why does this happen and how to avoid it? It is really frustraiting when working with small objects.
    Cheers.

    Howdy.
    The flat spots on the small circles is caused by anti-aliasing an improper alignment with the pixel grid when the circle is resized. You will see it most often when resizing a shape with an odd number of pixels. You an see below that the center of the circle is forced off the pixel grid, and the anti-aliasing is off.
    Here it is actual size.
    What to do?
    Before you accept the transformation, move the circle until center point of the circle is on the pixel grid. Use the arrow key to move it around. Experiment. Move the center of the circle to different off grid locations before accepting the transform. You  will see all sorts of anti-aliasing permutations. Choose one that's  symmetric.The center point should be on the grid. Then the anti-aliasing should be symmetric. When the transformation is  applied, the anti-aliasing is baked in, and you can move the circle back to its original position if you need to.
    As Paulo and Noel have noted, the quality of the anti-aliasing of the original circle will become apparent when it is downsized to web icon size. Any asymmetry in the original may not be noticable at normal size, as it will only involve one or two rows of pixels at the perimeter of the circle. A small percentage of assymetry on a 300px circle. When the circle is downsized to 10 pixels, the asymmetry still affects one or two rows of pixels. And the circle goes pear shaped  because the assymmetry could be as much as 10%. My guess is that the OP is working with some images that are a little out of whack to start with.
    There's a lot more to this, but this might help.
    Peace,
    Lee

  • Problem resizing certain objects

    I converted a project from Captivate 1 to 2. I noticed that I
    am having trouble resizing certain objects. For example, by
    clicking on a highlight box, I expected the sizing handles to show
    up on the object so I could resize it. The handles weren't there. I
    ended up having to delete the object and create a new one.
    Constrain Proportions is "unchecked." By the way, this doesn't
    happen everytime. Sometimes it works; sometimes it doesn't. Is
    there a patch for Captivate 2 I could install?

    Hi Jerilyn
    Indeed a patch does exist for Captivate 2. However, I'm very
    doubtful it will have any effect on what you reported.
    Unfortunately, we see many such reports here in the forums with odd
    behavior related to projects that were "converted" from version 1.
    If you are interested,
    click here to see the
    Technical Note regarding the hot fix.
    Cheers... Rick

  • Ps CS6 Problem: Transform applied to Smart Object cannot be repeated on another target

    Ps CS6
    OS X 10.6.8
    Problem: Transform applied to Smart Object cannot be repeated on another target.
    "Edit > Transform > Again" fails to transform any target after a Transform is applied to a Smart Object. The following message appears:

    When ever I have a problem in CS6 and I have many I always test priot releases like cs2 cs3 cs5.  I nevet nitice before you posted this problem the Photoshop has different favlors of Free Transform and that free transform for CS6 has been modified.  Adobe seems to be introducind new improvement matche with new bugs, 
    Investgating your bug using CS5 I see the following.  There are two types of free transform one type seems to be for smart Object layers and the other for other layer types.  In CS5 you should see a difference in the Option bar for Free transform.
    The option bar for layers other then smart object looklike this:
    Transform 9 anchor point icons  X: field Relative icon Y: filed  W: % Constrain icon H: %  Angle ° H: ° V: °
    The Option Bar for Smart Object layers look like this:
    Transform 9 anchor point icons  X: field Relative icon Y: filed  W: % Constrain icon H: %  Angle ° Check Box Anti Alias (grayed out)
    If I use the one for other then smart object layers Transform Again is not gratey out and I can use Transform Again on layers even smart object layers However the anchor point seems to be relative always to the first transformed layer's anchor point
    If I use free transform on the smart Object Layer and not have done any transform on a other then smart object layer in this Photoshop session not even in an other document the smart object layer will be tramsformed and Transform again menu item will be grayed out. If any had done a Transform on an layer other then smart object layer even in an other document Transform Again would not be grayed out and could be used on the smart object layer at hand.  The transform would not be the one just done on the smart object layer rather it be the one done to the other then smart object layer.  Seems a bit bazzar to me.  This may be how CS6 is also working.
    CS6 also added interpolation method to the other then Smart object layer transform and not the one for smart object layers. To be consuitant Adobe should have also put interpolation into the omart opject transform for Adobe transforms smart opject layer by first rendering the pixels for the smart opject then transforms them like a raster layer.  Adobe did manage to record the interpolation use into an action step.  However I do not know if the made it into Scripting  it did not make it into the photoshop javascript user guide. I will test the scriptlistener plugin to see if it records it for the action manager....
    Message was edited by: JJMack
    I have now tested the Scriptlistner Plugin it does record the interpolation for transform normal layers. Still the layer resize method in the Photoshop Javascript user guide has not been change for that support. In the past what I have done is scripting was to save the users default interpolation Photoshop prenerenvr changed the preference to what I wanted to use do the layer transform resize then restored the users interpolation preferance.  Adobe broke that in CS6 if the users defalt preference is what Adobe's defalt is "Bicubic Automatic" an internal Photoshop error occurs. Adobe did not add "Bicubic Autoimatic" to scripting when I try to save the preference scriping has the internal error. There is also no way to set the preference back to "Bicubic Automatic.  I'm also transform smart object layers so I would still have to use the save preference, change preference, transform, restore preferance method.  This works if the users preference is set to some preference other the "Bicubic Automatic"
    Message was edited by: JJMack
    So to me it look like CS5 and CS6 transform work basiclly the same.  There seems to have been some behavior changes made to CS6 I can not seem to put my finger on as well as the addition of the interpolation method in the option bar. I can't put my finger on it so it may be the same in CS5 and CS6.
    It may have to do with the bazar behavior of Free Transform  and Transform Again not being available on smart object layers if no free transform to a normal layer has been done in this Photoshop session  but are available if one was done in any doument. And thet you can start to do a transform on the smart object layer and see the Transform handle but then start using transform Again shortcut Ctrl+Shift+T and watch the old transform being done perhaps rotating some virtual anchor point and not around the acnchor point bing displayed in the Transform bounding box and control points.
    Message was edited by: JJMack
    Over in the Adobe Feedback site several issues were posted with CS6 Transform one was marked "Not a problem" by Adobe. One was marked "Solved" by Adobe and the others have no Adobe markings the may on not be a problem
    So I beleive there is a bug but I do not think it originated in CS6 the bazar things I see happing also seem to be in CS5.

  • How to convert an array collection instance to a complex object for interaction with webservice

    Hi there,
    I have a stubborn problem that I am trying to work out the best way to solve the problem.  I am interacting with a WebService via HTTPService calling a method called find(String name) and this returns me a List of ComplexObjects that contain general string and int params and also lists of other Complex Objects.  Now using the code:
    ArrayCollection newOriginalResultsArray = new ArrayCollection(event.result as Array)
    flex converts my complex objects results to an arraycollection so that I can use it in datagrids etc.  Now up until this part is all good.  My problem is when getting a single instance from the results list, updating it by moving data around in a new datagrid for example - I want to interact with the webservice again to do an create/update.  This is where I am having problems - because these webservice methods require the complex object as a parameter - I am struggling to understand how I can convert the array collection instance back to my complex object without iterating over it and casting it back (maybe this is the only way - but I am hoping not).
    I am hoping that there is a simple solution that I am missing and that there is some smart cookie out there that could provide me with an answer - or at least somewhere to start looking. I guess if I have no other alternative - maybe I need to get the people who built the service to change it to accept an array - and let them do the conversion.
    Any help would be greatly appreciated.
    Bert

    Hi Bert,
    According to my knowledge you can use describeType(Object) method which will return an XML... That XML will contain Properties and values just iterate through the XML and create a new Object..   Probably u can use this method...
    public function getObject(reqObj:Object,obj:Object,instanceName:String,name:String=null,index:int=-1):Obj ect
                if(!reqObj)
                    reqObj = new Object();
                var classInfo:XML = describeType(obj);
                var className:String = instanceName;
                if(name!=null)
                    className=name+"."+className;
                if(index!=-1)
                    className=className+"["+index+"]";
                for each (var v:XML in classInfo..accessor)
                    var attributeName:String=v.@name;
                    var value:* = obj[attributeName]
                    var type:String = v.@type;
                    if(!value)
                        reqObj[className+"."+attributeName] = value; 
                    else if(type == "mx.collections::ArrayCollection")
                        for(var i:int=0;i<value.length;i++)
                            var temp:Object=value.getItemAt(i);
                            getReqObject(reqObj,temp,attributeName,className,i);
                    else if(type == "String" || type == "Number" || type == "int" || type == "Boolean")
                        reqObj[ className+"."+attributeName] = value; 
                    else if (type == "Object")
                        for (var p:String in value)
                            reqObj[ className+"."+attributeName+"."+p] = value[p];
                    else
                        getReqObject(reqObj,value,attributeName,className);
                return reqObj;
    Thanks,
    Pradeep

  • Complex object as parameter from BPEL PM to Web Service

    Hello,
    I'm having a problem with being able to invoke a method on my web service from BPEL PM. It's a 'create' method, so I'm sending a complex object as the input parameter of the method.
    I'm encountering the same kind of problems I have at different stages in the project I'm on: SOA works really well as long as you don't use complex objects. As soon as you do, SimpleDeserializer exceptions seem to be thrown all over the place. In this case, the error I'm getting is:
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>Server.userException</code>
    </part>
    <part name="summary">
    <summary>when invoking endpointAddress 'http://covarm.tvu.ac.uk/validationEvent/services/validationEventSOAP', org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</summary>
    </part>
    <part name="detail">
    <detail>AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:188) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:207) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:190) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source)</detail>
    </part>
    </remoteFault>
    The WSDL is at:
    http://covarm.tvu.ac.uk/validationEvent/wsdl/validationEventSOAP.wsdl
    I'm invoking the 'createEvent' method. I know the service works okay because I've tested it with Rational Software Architect and Eclipse's Web Services Explorer, and also with standalone code and JUnit tests.
    The problem seems to be getting the mapping from BPEL PM to the Web Service. I'm sending the object as a message type that's defined in the WSDL of the service:
    <xsd:element name="createEventRequest" type="tns:event" />
    - <xsd:complexType name="event">
    - <xsd:sequence>
    <xsd:element name="event-detail" type="tns:event-detail" />
    <xsd:element name="proposed-dates" type="tns:proposed-dates" />
    <xsd:element name="panel" type="tns:panel" />
    <xsd:element name="development-team" type="tns:development-team" />
    <xsd:element name="minute" type="xsd:string" />
    <xsd:element name="feedback-list" type="tns:feedback-list" />
    </xsd:sequence>
    </xsd:complexType>
    Is this something that's
    a) fixable?
    b) workaroundable?
    c) a known issue?
    Thanks,
    Dan

    Before I start crying at my own impotence, how can I configure the bpel.xml file (for obtunnel_ when it looks like this?
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="RunValidationEvent" src="RunValidationEvent.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">RunValidationEvent.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="validationEvent">
    <property name="wsdlLocation">validationEventSOAPRef.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="notification">
    <property name="wsdlLocation">notificationSOAPRef.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="TaskManagerService">
    <property name="wsdlLocation">TaskManagerService.wsdl</property>
    <property name="wsdlRuntimeLocation">${domain_url}/TaskActionHandler/TaskManagerService.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="TaskRoutingService">
    <property name="wsdlLocation">TaskRoutingService.wsdl</property>
    <property name="wsdlRuntimeLocation">${domain_url}/TaskActionHandler/TaskRoutingService.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="TaskActionHandler">
    <property name="wsdlLocation">TaskActionHandler.wsdl</property>
    <property name="wsdlRuntimeLocation">${domain_url}/TaskActionHandler/TaskActionHandler?wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="IdentityService">
    <property name="wsdlLocation">LocalIdentityService.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="processParticipant">
    <property name="wsdlLocation">processParticipantSOAPRef.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    <activationAgents>
    <activationAgent className="oracle.tip.pc.services.hw.task.impl.TaskActivationAgent" partnerLink="TaskManagerService"/>
    </activationAgents>
    </BPELProcess>
    </BPELSuitcase>
    Or is it that I'm using local wsdl refs when I should be defining a partner likk in my web service wsdl?

  • Problem while accessing a complex data type

    hi,
    I am getting a problem while accessing a complex data type
    I have a wsdl as:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="OutlookReminderService" targetNamespace="http://ws.aftek.com/outlook-reminder" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://ws.aftek.com/outlook-reminder/schemas" xmlns:ns3="http://java.sun.com/jax-rpc-ri/internal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.aftek.com/outlook-reminder" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <types>
    - <schema targetNamespace="http://ws.aftek.com/outlook-reminder/schemas" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.aftek.com/outlook-reminder/schemas" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <import namespace="http://java.sun.com/jax-rpc-ri/internal" />
    - <complexType name="TaskVO">
    - <sequence>
    <element name="dueDate" type="long" />
    <element name="percentageComplete" type="int" />
    <element name="priorty" type="int" />
    <element name="reminderDate" type="long" />
    <element name="reminderSet" type="boolean" />
    <element name="startDate" type="long" />
    <element name="status" type="int" />
    <element name="subject" type="string" />
    <element name="taskId" type="string" />
    </sequence>
    </complexType>
    - <complexType name="NoSuchUserException">
    - <sequence>
    <element name="message" type="string" />
    </sequence>
    </complexType>
    - <complexType name="ArrayOfContactVO">
    - <complexContent>
    - <restriction base="soap11-enc:Array">
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:ContactVO[]" />
    </restriction>
    </complexContent>
    </complexType>
    - <complexType name="ContactVO">
    - <sequence>
    <element name="birthDate" type="long" />
    <element name="companyAddress" type="string" />
    <element name="companyName" type="string" />
    <element name="emailID1" type="string" />
    <element name="emailID2" type="string" />
    <element name="emailID3" type="string" />
    <element name="faxNumber" type="string" />
    <element name="firstName" type="string" />
    <element name="homeAddress" type="string" />
    <element name="lastName" type="string" />
    <element name="middleName" type="string" />
    <element name="mobileNumber" type="string" />
    <element name="phoneNumber" type="string" />
    <element name="workContactNumber" type="string" />
    </sequence>
    </complexType>
    </schema>
    - <schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://java.sun.com/jax-rpc-ri/internal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <import namespace="http://ws.aftek.com/outlook-reminder/schemas" />
    - <complexType name="arrayList">
    - <complexContent>
    - <extension base="tns:list">
    <sequence />
    </extension>
    </complexContent>
    </complexType>
    - <complexType name="list">
    - <complexContent>
    - <extension base="tns:collection">
    <sequence />
    </extension>
    </complexContent>
    </complexType>
    - <complexType name="collection">
    - <complexContent>
    - <restriction base="soap11-enc:Array">
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="anyType[]" />
    </restriction>
    </complexContent>
    </complexType>
    </schema>
    </types>
    <message name="OutlookServer_addTaskResponse" />
    - <message name="OutlookServer_getListResponse">
    <part name="result" type="ns3:arrayList" />
    </message>
    - <message name="OutlookServer_getContactListResponse">
    <part name="result" type="ns2:ArrayOfContactVO" />
    </message>
    - <message name="NoSuchUserException">
    <part name="NoSuchUserException" type="ns2:NoSuchUserException" />
    </message>
    - <message name="OutlookServer_getContactList">
    <part name="String_1" type="xsd:string" />
    </message>
    - <message name="OutlookServer_getList">
    <part name="String_1" type="xsd:string" />
    </message>
    - <message name="OutlookServer_addTask">
    <part name="String_1" type="xsd:string" />
    <part name="TaskVO_2" type="ns2:TaskVO" />
    </message>
    - <message name="OutlookServer_reminderOccurredResponse">
    <part name="result" type="xsd:boolean" />
    </message>
    - <message name="OutlookServer_reminderOccurred">
    <part name="String_1" type="xsd:string" />
    <part name="TaskVO_2" type="ns2:TaskVO" />
    </message>
    - <portType name="OutlookServer">
    - <operation name="addTask" parameterOrder="String_1 TaskVO_2">
    <input message="tns:OutlookServer_addTask" />
    <output message="tns:OutlookServer_addTaskResponse" />
    <fault message="tns:NoSuchUserException" name="NoSuchUserException" />
    </operation>
    - <operation name="getContactList" parameterOrder="String_1">
    <input message="tns:OutlookServer_getContactList" />
    <output message="tns:OutlookServer_getContactListResponse" />
    <fault message="tns:NoSuchUserException" name="NoSuchUserException" />
    </operation>
    - <operation name="getList" parameterOrder="String_1">
    <input message="tns:OutlookServer_getList" />
    <output message="tns:OutlookServer_getListResponse" />
    <fault message="tns:NoSuchUserException" name="NoSuchUserException" />
    </operation>
    - <operation name="reminderOccurred" parameterOrder="String_1 TaskVO_2">
    <input message="tns:OutlookServer_reminderOccurred" />
    <output message="tns:OutlookServer_reminderOccurredResponse" />
    <fault message="tns:NoSuchUserException" name="NoSuchUserException" />
    </operation>
    </portType>
    - <binding name="OutlookServerBinding" type="tns:OutlookServer">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="addTask">
    <soap:operation soapAction="" />
    - <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </input>
    - <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </output>
    - <fault name="NoSuchUserException">
    <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </fault>
    </operation>
    - <operation name="getContactList">
    <soap:operation soapAction="" />
    - <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </input>
    - <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </output>
    - <fault name="NoSuchUserException">
    <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </fault>
    </operation>
    - <operation name="getList">
    <soap:operation soapAction="" />
    - <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </input>
    - <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </output>
    - <fault name="NoSuchUserException">
    <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </fault>
    </operation>
    - <operation name="reminderOccurred">
    <soap:operation soapAction="" />
    - <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </input>
    - <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </output>
    - <fault name="NoSuchUserException">
    <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
    </fault>
    </operation>
    </binding>
    - <service name="OutlookReminderService">
    - <port binding="tns:OutlookServerBinding" name="OutlookServerPort">
    <soap:address location="http://truptid:8080/outlook-reminder-service/outlook" />
    </port>
    </service>
    </definitions>
    My client is :
    private static String     BODY_NAMESPACE_VALUE     = "http://ws.abc.com/outlook-reminder";
         private static String     ENCODING_STYLE_PROPERTY     = "javax.xml.rpc.encodingstyle.namespace.uri";
         private static String     NS_XSD                         = "http://www.w3.org/2001/XMLSchema";
         private static String     URI_ENCODING               = "http://schemas.xmlsoap.org/soap/encoding/";     
    try{
    ServiceFactory factory = ServiceFactory.newInstance();
                        Service service = factory.createService(new QName("OutlookReminderService"));
                        QName port =new QName("OutlookReminderService","OutlookServerPort");
                        Call call =service.createCall(port);
                        call.setTargetEndpointAddress("http://localhost:8080/outlook-reminder-service/outlook?wsdl");
                        call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
                        call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
                        call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
                        call.getReturnType();
                        call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "getList"));
                        QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
                        call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);
                        //http://ws.aftek.com/outlook-reminder/schemas
                        QName QNAME_TYPE_VO = new QName("http://schemas.xmlsoap.org/soap/encoding/", "Array");
                        System.out.println("Before Add Parameter");
                   //     call.addParameter("result", QNAME_TYPE_VO, ParameterMode.OUT);
                        call.setReturnType(QNAME_TYPE_VO,ArrayList.class);
                        System.out.println("After Add Parameter");
                        Object[] params ={oUserVO.getUserName()};
                        oArrayList =(ArrayList)call.invoke(params);
                        System.out.println("After Invoked");
                        //System.out.println("invoked"+ arrayList);          
                   catch(SOAPFaultException faultException)
                        moLogger.debug("SOAPFaultException : ", faultException);
                   catch(RemoteException oremoteException)
                        moLogger.debug("RemoteException", oremoteException);
              catch(ServiceException oServiceException)
                        moLogger.debug("ServiceException", oServiceException);          }          
    Error got is :
    trailing block elements must have an id attribute
         at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:81)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:239)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
         at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:255)
         at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
         at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
    java.lang.NullPointerException
         at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:277)
         at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
         at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
    Message was edited by:
    trupti_d

    Use lower case letters for your variable names (name, pwd). The code works then.
    package com.bluenile.bean;
    import java.io.*;
    public class Bean1 implements Serializable
    private String name="Uname";
    private String pwd="Pword";
    public String getName()
    return name;
    public String getPwd()
    return pwd;
    void setName(String name)
    this.name = name;
    void setPwd(String pwd)
    this.pwd = pwd;
    <HTML>
    <BODY BGCOLOR="#FFFFFF">
    <%@ page language="java" contentType="text/html" %>
    <jsp:useBean id="b1" class="com.bluenile.bean.Bean1" />
    <ul>
    <li>Name : <jsp:getProperty name="b1" property="name" />
    <li>Pwd : <jsp:getProperty name="b1" property="pwd" />
    </ul>
    </BODY>
    </HTML>

  • Resizing selected objects

    Ok, so I am trying to write a script that resizes an object that is selected. I have two objects selected, the one on top is a group item, the one below it is a rectangle. I am trying to resize the rectangle to the size of the group item on top of it with a little margin around it. Here is what I have so far.
    var design = app.activeDocument.selection[0];
         var top=design.visibleBounds[1]+5*2; 
         var left=design.visibleBounds[0]-5*2; 
         var width=design.visibleBounds[2]-design.visibleBounds[0]+10*2;
         var height=design.visibleBounds[1]-design.visibleBounds[3]+10*2;
    var background = app.activeDocument.selection[1];
    background.position = (top, left, width, height);
    The problem is the last line there. I'm not sure how to manipulate the position/size of the selected object or if it is even possible I have searched for it and haven not found an answer. Thanks in advance!

    position property expects an Array, with x and y values, in that order. As for the width and height properties, use them in separate statements
    background.position = [left, top];
    background.width = width;
    background.height = height;

  • Problem in a drawing program

    Dear experts,
    While working on a program,i am having a problem which is just killing me.This is a simple drawing program.On clicking draw button,user
    can do free hand drawing.On clicking line he can stretch line to any
    coordinate.Similarily do erasing etc.
    Problem underlies in rectangle part.I am using some conditions.
    Conditions are based on analysis.Fixx and Fixy are the points
    when mouse is pressed.
    Prevx and Prevy are coordinates which are stored before retrieving
    newer ones.x and y are new coordinates.
    I have marked the relevant code as part of code for easy understanding.
    Problem is in behaviour for rectangle.If i draw twoards either side
    it works well but the moment i drag right ,left,up down ,i get
    patched near origin(fixed point) from where mouse was pressed ie
    fixx,fixy.
    I recommend if this could be copied as it is and run,the problem will come to light better.
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.*;
    public class FProf extends JPanel implements MouseListener,ActionListener,MouseMotionListener
    JFrame main_window;
    int draw_mode,erase_mode,line_mode,box_mode;
    double fixx,fixy;
    double initx,inity;
    double x,y;
    JButton b_draw;
    JButton b_erase;
    JButton b_line;
    JButton b_rec;
    JPanel draw_panel;
    JPanel bt_panel;
    Graphics2D g2;
    Point p;//Mouse pointer
    Image image=null;
    double prevx,prevy;
    double c1,c2,c3,c4,c5,c6,c7,c8;
    Stroke[] linestyles = new Stroke[] {
    new BasicStroke(25.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL),
    new BasicStroke(25.0f, BasicStroke.CAP_SQUARE,BasicStroke.JOIN_MITER),
    new BasicStroke(1.0f, BasicStroke.CAP_ROUND,BasicStroke.JOIN_MITER),
    new BasicStroke(25.0f, BasicStroke.CAP_ROUND,
    BasicStroke.JOIN_ROUND), };
    FProf()
    draw_mode=0; //Inactive
    erase_mode=0; //Inactive
    addMouseListener(this);
    addMouseMotionListener(this);
    GridLayout l=new GridLayout(4,4);
    main_window=new JFrame("Fountain Prof V.200");
    bt_panel=new JPanel();
    b_draw=new JButton ("Draw");
    b_draw.addActionListener(this);
    b_erase=new JButton("Erase");
    b_erase.addActionListener(this);
    b_line=new JButton("Line");
    b_line.addActionListener(this);
    b_rec=new JButton ("Box");
    b_rec.addActionListener(this);
    main_window.getContentPane().setLayout(new BorderLayout());
    main_window.getContentPane().add("Center",this);
    bt_panel.setLayout(l);
    bt_panel.add(b_draw);
    bt_panel.add(b_erase);
    bt_panel.add(b_line);
    bt_panel.add(b_rec);
    main_window.getContentPane().add("East",bt_panel);
    main_window.setSize(800,600);
    main_window.show();
    private void draw()
    if ((erase_mode==1) &&(draw_mode==0) &&(line_mode==0)&&(box_mode==0)) {
    g2.setPaintMode();
    g2.setColor(Color.white);
    g2.setStroke(linestyles[3]); // Select the line style to use
    g2.draw(new Line2D.Double(initx,inity,x,y));
    repaint();
    else if ((draw_mode==1) && (line_mode==0) &&(erase_mode==0)&&(box_mode==0))
    g2.setPaintMode();
    g2.setColor(Color.black);
    g2.setStroke(linestyles[2]); // Select the line style to use
    g2.draw(new Line2D.Double(initx,inity,x,y));
    repaint();
    else if ((draw_mode==0) && (erase_mode==0) &&(line_mode==1)&&(box_mode==0))
    repaint();
            else if ((draw_mode==0) && (erase_mode==0) &&(line_mode==0)&&(box_mode==1))
            repaint();
    public void paintComponent(Graphics g)
    super.paintComponent(g);
    if (image == null)
    System.out.print(getHeight());
    g2=(Graphics2D) g;
    image = createImage(getWidth(), getHeight());
    g2 = (Graphics2D)image.getGraphics();
    g2.setColor(Color.white);
    g2.fillRect(0, 0, getWidth(), getHeight());
    g2.setColor(Color.black);
    Rectangle r = g.getClipBounds();
    g.drawImage(image, r.x, r.y, r.width+r.x, r.height+r.y, r.x, r.y, r.width+r.x, r.height+r.y, null);
    public void mouseReleased(MouseEvent e)
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    public void change_cursor()
    Toolkit tk=Toolkit.getDefaultToolkit();
    if ((draw_mode==1)&&(erase_mode==0)) {
    Image img=tk.getImage("Pen.gif");
    Cursor dym=tk.createCustomCursor(img,new Point(10,10),null);
    setCursor(dym);
    else if ((erase_mode==1)&&(draw_mode==0)) {
    Image img=tk.getImage("eraser.gif");
    Cursor dym=tk.createCustomCursor(img,new Point(10,10),null);
    setCursor(dym);
    public void mouseClicked(MouseEvent e)
    public void mouseDragged(MouseEvent e)
    Point p;
    if ((draw_mode ==1)||(erase_mode==1)) {
    initx=x;inity=y;
    p=e.getPoint();
    x=p.getX();
    y=p.getY();
    draw();
    if ((line_mode==1)&&(box_mode==0)) {
    if (mousehasmoved(e)) {
    prevx=x;prevy=y;
    p=e.getPoint();
    x=p.getX();
    y=p.getY();
    g2 = (Graphics2D)image.getGraphics();
    g2.setColor(Color.black);
    g2.setXORMode(Color.white);
    g2.draw(new Line2D.Double(fixx,fixy,prevx,prevy)); //erasing previous line
    draw();
    g2.draw(new Line2D.Double(fixx,fixy,x,y)); //redrawing newer one
    draw();
    if ((line_mode==0)&&(box_mode==1)) {
    if (mousehasmoved(e)) {
    prevx=x;prevy=y;
    p=e.getPoint();
    x=p.getX();
    y=p.getY();
    g2 = (Graphics2D)image.getGraphics();
    g2.setColor(Color.black);
    g2.setXORMode(Color.white);
    if ((x<=fixx) && (y>=fixy)) {
    c1=x;c2=fixy;c3=fixx-x;c4=y-fixy;c5=prevx;c6=fixy;c7=fixx-prevx;c8=prevy-fixy;
    else if ((x>=fixx)&&(y>=fixy)) {
    c1=fixx;c2=fixy;c3=x-fixx;c4=y-fixy;c5=fixx;c6=fixy;c7=prevx-fixx;c8=prevy-fixy;
    else if ((x>=fixx)&&(y<=fixy)) {
    c1=fixx;c2=y;c3=x-fixx;c4=fixy-y;c5=fixx;c6=prevy;c7=prevx-fixx;c8=fixy-prevy;
    else if ((x<=fixx)&&(y<=fixy)) {
    c1=x;c2=y;c3=fixx-x;c4=fixy-y;c5=prevx;c6=prevy;c7=fixx-prevx;c8=fixy-prevy;
    g2.draw(new  Rectangle2D.Double(c5,c6,c7,c8));
    draw();
    g2.draw(new  Rectangle2D.Double(c1,c2,c3,c4));
    draw();
    }public void mouseMoved(MouseEvent e)
    p=e.getPoint();
    x=p.getX();
    y=p.getY();
    main_window.setTitle("X- "+x+" "+"Y- "+y);
    initx=x;inity=y; //Get me current position
    if ((draw_mode==1)||(erase_mode==1)) {
    //change_cursor();
    else {
    setCursor(Cursor.getDefaultCursor());
    public void mousePressed(MouseEvent ex)
    if ((draw_mode==0) && (erase_mode==0) &&((line_mode==1)||(box_mode==1))) {
    fixx=ex.getX();fixy=ex.getY();
    public void actionPerformed(ActionEvent ev)
    Object ob=ev.getSource();
    if (ob==b_draw) {
    draw_mode=1;erase_mode=0;line_mode=0;
    box_mode=0;
    if (ob==b_erase) {
    erase_mode=1;draw_mode=0;line_mode=0;
    box_mode=0;
    if (ob==b_line) {
    erase_mode=0;draw_mode=0;line_mode=1;
    box_mode=0;
    if (ob==b_rec) {
    erase_mode=0;draw_mode=0;line_mode=0;box_mode=1;
    public static void main(String args[])
    new FProf();
    public boolean mousehasmoved (MouseEvent e)
    return((initx != e.getX()) ||(inity!=e.getY()));
    }}

    change your mouseDragged method to something like:
        public void mouseDragged(MouseEvent e)
            Point p;
            if ((draw_mode == 1) || (erase_mode == 1))
                initx = x;
                inity = y;
                p = e.getPoint();
                x = p.getX();
                y = p.getY();
                draw();
            if ((line_mode == 1) && (box_mode == 0))
                if (mousehasmoved(e))
                    prevx = x;
                    prevy = y;
                    p = e.getPoint();
                    x = p.getX();
                    y = p.getY();
                    g2 = (Graphics2D) image.getGraphics();
                    g2.setColor(Color.black);
                    g2.setXORMode(Color.white);
                    g2.draw(new Line2D.Double(fixx, fixy, prevx, prevy)); // erasing
                                                                            // previous
                                                                            // line
                    draw();
                    g2.draw(new Line2D.Double(fixx, fixy, x, y)); // redrawing
                                                                    // newer one
                    draw();
            if ((line_mode == 0) && (box_mode == 1))
                if (mousehasmoved(e))
                    prevx = x;
                    prevy = y;
                    p = e.getPoint();
                    x = p.getX();
                    y = p.getY();
                    g2 = (Graphics2D) image.getGraphics();
                    g2.setColor(Color.black);
                    g2.setXORMode(Color.white);
                     * calculate the former rectangle - it does not depend to
                     * the new rectangle!
                    if((prevx <= fixx) && (prevy >= fixy))
                        c5 = prevx;
                        c6 = fixy;
                        c7 = fixx - prevx;
                        c8 = prevy - fixy;                   
                    else
                        if ((prevx >= fixx) && (prevy >= fixy))
                            c5 = fixx;
                            c6 = fixy;
                            c7 = prevx - fixx;
                            c8 = prevy - fixy;
                        else
                            if ((prevx >= fixx) && (prevy <= fixy))
                                c5 = fixx;
                                c6 = prevy;
                                c7 = prevx - fixx;
                                c8 = fixy - prevy;
                            else
                                if ((prevx <= fixx) && (prevy <= fixy))
                                    c5 = prevx;
                                    c6 = prevy;
                                    c7 = fixx - prevx;
                                    c8 = fixy - prevy;
                     * calculate the new rectangle here
                    if ((x <= fixx) && (y >= fixy))
                        c1 = x;
                        c2 = fixy;
                        c3 = fixx - x;
                        c4 = y - fixy;
                    else
                        if ((x >= fixx) && (y >= fixy))
                            c1 = fixx;
                            c2 = fixy;
                            c3 = x - fixx;
                            c4 = y - fixy;
                        else
                            if ((x >= fixx) && (y <= fixy))
                                c1 = fixx;
                                c2 = y;
                                c3 = x - fixx;
                                c4 = fixy - y;
                            else
                                if ((x <= fixx) && (y <= fixy))
                                    c1 = x;
                                    c2 = y;
                                    c3 = fixx - x;
                                    c4 = fixy - y;
                    g2.draw(new Rectangle2D.Double(c5, c6, c7, c8));
                    draw();
                    g2.draw(new Rectangle2D.Double(c1, c2, c3, c4));
                    draw();
        }why?
    You calculated the former rectangle in dependence to the newly created one. It does not depend on that, but needs its own if statements. I'm sure you will understand what I mean when looking at the method.

  • Web Service Request Collection/Complex Objects doesn't work

    I am unable to call a .net web service using Adobe LiveCycle Designer 8.0. My test web service accepts either a complex object or a collection of the same object.
    EX)
    [WebMethod]
    public string CostChange(CostChangeNotificationItem change1, CostChangeNotificationItem change2)
    return "Success";
    [WebMethod]
    public string CostChangeColl(CostChangeNotificationCol changes)
    return "Success";
    I can successfullly create the connection to the web service. When i drag and drop the connection request/button/and response onto the designer i can call the web service successfully.
    However you never see the request objects on the form unless you change the subforms to flowed and the min and initial count of the object to 1. When this is done the web service never gets called. You can click the button until you are blue in the face with no successful call.

    Hello ,
    our problem was a result of a corrupt database. Please check the Log files in CUCM . have a look for "missed table entries "
    cli
    utils dbreplication repair
    check logs again    the path to the log is displayed after the repair.
    hope it helps
    good luck

  • Web Services with Complex Objects (Urgent !!)

    Hi,
    My last post was on a problem using IBM-RAD (Service) and AXIS2 (Client) in "New to Java" Forum. That is one of the trial scenarios I'm working on nowadays. Hope, I'll get some useful reply soon.
    Now, I need a suggestion about the application I'm working upon. It is as follows:
    (i) The application (i.e. Service Class) takes some primitive,String and/or some bean object as input
    (ii) It returns a bean object [or an array (can use collection class also if possible) of bean objects].
    (iii) The bean properties are primitive,String , other bean objects, and/or some collection object(Vector / ArrayList etc.) i.e. it should handle complex objects.
    (iv) The Service should run on Websphere and Client on Tomcat.
    A pictorial representation is given below:
    [primitive/String/bean object (Input arg)]
    [(Contains  primitive/String/other bean objects/collection class)] Bean <---------> Service <----------------------- Client
    [Calls bean] |===============> Client
    [Returns bean (or array of beans / collection object)]
    I'm now trying (by building test applications) a combination of IBM-RAD (Service) and AXIS2 (Client), but facing problems in handling array of beans and/or collection classes either on Service or on the Client side.
    So, I need some suggestions on whether I'm going the right way, or need to change my approach (or technology). Any suggestion would be appreciated.
    Please reply ASAP, it is urgent.
    Thanks in advance,
    Suman

    no problem for me, so it's not urgent.
    Request for help denied.

  • Resizing 3d objects

    Hello! I'm new at java3d and i'm researching for my university project. I have the following question: how can i resize a object imported from a .obj file? There is any way to do that? Suppose i've a .obj that i want to load to my project but i need to resize it to be with the same width but a different weight.
    I've the code above:
    Transform3D objLocation = new Transform3D();
    objLocation.set(p.scale, new Vector3d(p.posx, p.posy, p.posz));
    //returns a scene with the object i want
    Scene s = ObjLoad();
    TransformGroup newScene = new TransformGroup();
    newScene.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    newScene.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    newScene.setTransform(objLocation);
    newScene.addChild(s.getSceneGroup());
    objSpin.addChild(newScene);
    The solution i figured out makes possible to place the object where i want and scale it, but it doesn't work because i want to redimensionate the object and not to scale it...
    I would appreciate any help!
    tks in advance
    ps: sorry about the poor english, hope you understand it
    Bruno
    Portugal

    Java3D uses a 4x4 matrix for these operations. Scale and rotate happen in the upper-left 3x3 matrix.
    This matrix doesn't affect translation at all.
    I think the 3x3 matrix that do what you want is the following :
    xscale 0 0
    0 yscale 0
    0 0 zscale
    so you just have to create your TransformGroup using this Transform3D.
    Matrix3d scalematrix = new Matrix3d(xscale, 0, 0, 0, yscale, 0, 0, 0, zscale);
    Vector3d translationvector = new Vector3d(xtranslation, ytranslation, ztranslation);
    Transform3D t3d = new Transform3D(scalematrix, translationvector, 0d);hope this will help !
    c ya
    GnG

  • JAVA&SOAP:how to return a complex object( the object has an object within)

    Lets say my Complex object is :
    public class PersonWithAddress {
    private String name;
    private int ssn ;
    private Address add;
    PersonWithAddress() {
    name="Gagan Tandon" ;
    ssn =1111;
    add = new Address("1113","WestPlum Street");
    public String getName() {
    return name;
    public int getSSN() {
    return ssn;
    public Address getAddress() {
    return add;
    This complex object has Address object embedded in it.
    public class Address {
    private String house;
    private String street;
    public Address (String myHouse,String myStreet) {
    house = myHouse;
    street = myStreet;
    public String getHouse() {
    return house;
    public String getStreet() {
    return street;
    My deployment Descriptor is as following: check the mappings part.
    <isd:service xmlns:isd=
    "http://xml.apache.org/xml-soap/deployment"
    id="urn:xml-soap-person-demo">
    <isd:provider type="java"
    scope="Application"
    methods="getPersonWithAddress">
    <isd:java class="PersonServer"/>
    </isd:provider>
    <isd:faultListener>
    org.apache.soap.server.DOMFaultListener
    </isd:faultListener>
    <isd:mappings>
    <isd:map
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:x="urn:xml-soap-person-demo" qname="x:PersonWithAddress"
    javaType="PersonWithAddress"
    java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
    xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
    <isd:map
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:x="urn:xml-soap-person-demo" qname="x:Address"
    javaType="Address"
    java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
    xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
    </isd:mappings>
    </isd:service>
    And in my SOAPRPC code at client end calls the following: check the mappingregistry code...
    String serverHost = "http://localhost:8082/soap/servlet/rpcrouter";
    SOAPMappingRegistry smr = new SOAPMappingRegistry();
    Parameter p= null;
    try {
    System.out.println("here 0");
    Response r=null;
    Call c=new Call();
    Vector parameters = new Vector();
    System.out.println("here 1");
    c.setTargetObjectURI ("urn:xml-soap-person-demo");
    c.setMethodName ("getPersonWithAddress");
    System.out.println("here 3");
    c.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
    // parameters.addElement (new Parameter("name", String.class, "Web Services Client", null));
    // c.setParams (parameters);
    c.setSOAPMappingRegistry(smr);
    BeanSerializer beanSer = new BeanSerializer();
    smr.mapTypes(Constants.NS_URI_SOAP_ENC,new QName("urn:xml-soap-person-demo","Address"),Address.class,beanSer,beanSer);
    smr.mapTypes(Constants.NS_URI_SOAP_ENC,new QName("urn:xml-soap-person-demo","PersonWithAddress"),PersonWithAddress.class,beanSer,beanSer);
    try
    System.out.println("here 4");
    r = c.invoke ( new URL(serverHost), "" );
    // org.apache.soap.SOAPException can be thrown
    catch ( Exception e )
    e.printStackTrace();
    // Check the response.
    if (r.generatedFault ()) {
    Fault f = r.getFault();
    System.out.println ("Error Occurred: ");
    System.out.println (" Fault Code = " + f.getFaultCode());
    System.out.println (" Fault String = " + f.getFaultString());
    // return f.getFaultString();
    // return new String("gagan");
    return null;
    else {
    System.out.println("here 5");
    p = r.getReturnValue();
    System.out.println("here 6");
    // System.out.println( (String)greeting.getValue() );
    System.out.println("SSN: " + ((PersonWithAddress)p.getValue()).getSSN());
    return (PersonWithAddress) p.getValue();
    catch( Exception e ){
    e.printStackTrace();
    // finally {
    // return null;// String("not OK");
    if (p==null)
    return null;
    else
    return (PersonWithAddress) p.getValue();
    When running this code..
    The following error is thrown.
    System.out.println("here 4") is printed.
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to instantiate 'PersonWithAddress': Class org.apache.soap.encoding.soapenc.BeanSerializer can not access a member of class PersonWithAddress with modifiers ""; targetException=java.lang.IllegalArgumentException: Unable to instantiate 'PersonWithAddress': Class org.apache.soap.encoding.soapenc.BeanSerializer can not access a member of class PersonWithAddress with modifiers ""]
    at org.apache.soap.rpc.Call.invoke(Call.java:294)
    at PersonClient.getPersonWithAddress(PersonClient.java:92)
    at PersonClient.<init>(PersonClient.java:11)
    at PersonClient.main(PersonClient.java:20)
    java.lang.NullPointerException
    at PersonClient.getPersonWithAddress(PersonClient.java:96)
    at PersonClient.<init>(PersonClient.java:11)
    at PersonClient.main(PersonClient.java:20)
    I am here 1
    Exception in thread "main" java.lang.NullPointerException
    at PersonClient.<init>(PersonClient.java:13)
    at PersonClient.main(PersonClient.java:20)
    What could be the problem..? Is there any info on net how could i pass complex objects of this type in Java through SOAP RPC.
    GAGAN

    Have you managed to sole the problem ? I have got similar one...
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to instantiate 'auction.common.Property': auction/common/Property]
         at proxy.soap.AuctionHistoryProxy.addAuctionProperty(AuctionHistoryProxy.java:515)
         at java.lang.reflect.Method.invoke(Native Method)
    (...)

  • Is it possible to move/resize individual objects in Compound Clipping Path in Illustrator?

    Hi,
    I have created a Compound Clipping Path in Adobe Illustrator, and wonder if there is a way of moving/resizing individual objects in this path that create the mask? At the moment when I try to change just one object it changes them all.
    Essentially I am try to make fine adjustments to the mask.
    Thanks in advance for any help,
    Nick

    Adobe updated masks in CS4, which has made to editing inidividual contents within masks more difficult, especially more complex masks (eg: nested)
    When you select a mask now you select the mask and the contents. 5 ways to help you select the elements within the mask:
    To get into the contents to edit them use the "Edit Contents" button (the 2nd one in the top left).
    Flip down your layers palette triangles, to try and make selections there
    Individually select items with the hollow arrow tool or group select tool, and hide them, then unhide to have the sum of the elements selected.
    Save back to CS3 and work in CS3 
    Isolation Mode (though that mode is preferred disabled by many users)
    Be careful as if you ever release a mask, this can entirely mess up your layeringorder on occasion, and undo won't help. Save before releasing a mask, sometimes you can undo, sometimes undo will not be abel to reconstruct you layer order.

Maybe you are looking for

  • Hi   error while creating  sales order

    hi i am getting 'not able to save' message while i am creating sales order. how should i proceed to know where is the problem??? i tried debugging but it is taking lots of time, is there any other way i can know the reason for this error in standard

  • How to insert date in pages

    How to insert date and time using PAGES via IPAD

  • "Macro" function like in Word?

    I cannot find the macro function (or whatever its called in Pages). I want to have a set of text, such as a return address, that I can call into a Pages document. Where does it live? Or what is it called so I can look it up in the manual? Thanks

  • Pdf printing Report Layout

    I'm trying to modify the default Report Layout and I'm almost there, except for how the Apex engine loops through the sub-templates is messing me up. I want my report to look like: COL HEADER1 COL DATA1 COL HEADER 2 COL DATA2 COL HEADER3 COL DATA3 et

  • Calendar not working on iPhone 4

    I recently purchased a new iphone 4, I do not have Google calendar but my regular iphone calendar will not let me add events the " " is not there at all. I used my calendar alot with my old iphone and feel lost without it. HELP?