X axis gridline problem

When I used CFChart on coldfusion 6.1 the chart displayed the
xaxis grid properly i.e. it displayed all the results in each
category, put in a gridline, then showed the next category, put in
a gridline etc. Now however in Coldfusion 7 the gridline is
appearing in the middle of the category which is splitting up
results in the same category. Is there a way to get coldfusion 7 to
move the xaxis gridline?
Is there anywhere I can upload an image to better illustrate
the problem?

Hi the code for the chart is below. It might be a bit
confusing as it is looping through a list so that I can have
multiple staffmembers displayed on the one chart. It just seems
weird to me that it worked fine on CF 6 but shows different on CF
7.
Appreciate any help!
<cfchart format="png" chartwidth="698"
showxgridlines="yes" showborder="no" xaxistitle="Rating"
yaxistitle="No of Customers" show3d="no" sortxaxis="no"
gridlines="#mygridlines#" seriesplacement="cluster"
showlegend="yes" >
<cfset counterlist = 1 >
<cfloop list="#StaffList#" index="y">
<cfchartseries type="#newChartType#" serieslabel="#y#"
>
<cfloop list="Very poor, Could be better, Okay, Good,
Excellent" index="x">
<cfloop list="GetList" index="i">
<cfchartdata item="#x#"
value="#ListGetAt(Getlist,counterlist)#">
</cfloop>
<cfset counterlist = counterlist + 1>
</cfloop>
</cfchartseries>
</cfloop>
</cfchart>

Similar Messages

  • Y Axis Gridline Spacing - Substitute Item

    How can I use item value to control the Y Axis Gridline Spacing? I have seen couple
    questions regarding this in the forum but no answers. Is this possible at all?
    In my opinion, if HTML db targets Excell and Access customers then the charting
    capabilities need to be improved quite a bit.
    Denes Kubicek

    I found this promble in 10G R2 , and in 10G r1( update htmldb from 1.5 to 1.6)
    is there any idea about it?

  • Axis Example problem (CLASSPATH-related ?)

    Hi
    I am trying to deploy the example5 BeanSerializer example (after successfully completing exercises 1-4). I am running the following command from the samples/userguide/example5 directory:
    c:>java org.apache.axis.client.AdminClient -llocal:///AdminService deploy.wsdd
    This produces the following non-fatal error:
    SEVERE: Unable to deploy typemapping: {urn:BeanService}Order
    java.lang.ClassNotFoundException: samples.userguide.example5.Order
    I have "." in my CLASSPATH. The compiled .class files have been placed in the tomcat\webapps\axis\WEB-INF\classes\samples\userguide\example5\ folder. But the deployer is unable to locate the Order.class file.
    Any clue would be helpful. TIA.
    Sierra Bravo

    Hello All,
    I am having the same kind of problem. I can compile the samples but I cannot run them. As a result, I could not even install the sample webservices.
    Here's my description...
    I do not know if this is a Java environment problem or my Axis environment problem. So bear with me. I am having difficulty executing the samples that came with Axis 1.4.
    I know that my Java environment is OK because I had no problems compiling and executing the included Java JDK samples.
    Platform:
    =========
    Windows XP, SP2
    Apached Http Server 2.2 [installed at C:\wtSoftware\Apache2.2]
    Tomcat 5.5.17 [installed at C:\wtSoftware\Tomcat5.5]
    Axis 1.4 [installed at C:\wtSoftware\Tomcat5.5\webapps\axis]
    Sun jdk1.5.0_08 [installed at C:\wtSoftware\jdk1.5.0_08]
    copied JAF 1.1 JAR to AXIS_LIB
    copied tools.jar to AXIS_LIB
    copied JavaMail 1.4 to AXIS_LIB
    copied Xerces 2.8.0 to AXIS_LIB
    copied XML Security 1.3.0 to AXIS_LIB
    AXIS_HOME=C:\wtSoftware\Tomcat5.5\webapps\axis
    AXIS_LIB=%AXIS_HOME%\WEB-INF\lib
    AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\resolver.jar;%AXIS_LIB%\serializer.jar;%AXIS_LIB%\xalan.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;%AXIS_LIB%\activation.jar;%AXIS_LIB%\tools.jar;
    CLASSPATH=%AXISCLASSPATH%
    I have correctly installed Axis as per the documentation and all pages work.
    When I tried to run the example as specified in the Axis User Guide, I would get an exception. The following is the command I used:
    java -verbose -cp "%CLASSPATH%" samples.userguide.example1.TestClient
    [Loaded java.io.BufferedReader from shared objects file]
    [Loaded java.io.InputStreamReader from shared objects file]
    [Loaded sun.nio.cs.StreamDecoder from shared objects file]
    [Loaded sun.nio.cs.StreamDecoder$CharsetSD from shared objects file]
    [Loaded java.util.AbstractSequentialList from shared objects file]
    [Loaded java.util.Queue from shared objects file]
    [Loaded java.util.LinkedList from shared objects file]
    [Loaded java.util.LinkedList$Entry from shared objects file]
    [Loaded java.io.IOException from shared objects file]
    [Loaded java.io.FileNotFoundException from shared objects file]
    Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/example1/TestClient
    [Loaded java.lang.Shutdown from shared objects file]
    [Loaded java.lang.Shutdown$Lock from shared objects file]
    i have also tried to add all JAR files from the JDK into the CLASSPATH and still I would get an exception when running the class. Although the exception would be FileNotFoundException for another class.
    Any help would be greatly appreciated.
    Thanks

  • SOAP Axis adapter - problem with XML formatting

    Hello All,
    We are using SOAP Axis adapter on our scenario (because of NTLM authenticatiom) and faced a problem that some module in a module chain is pretty-formatting XML message (inserting newlines and spaces).
    Receiving WebService is REALLY strict on format and doesn't allow spaces and newlines between XML elements.
    Formatting is for sure done already in adapter as in sxmb_moni message is still one-liner.
    After different tests this formatting is most likely done by XI30OutboundHandler.
    Are there any parameters to prevent this formatting?
    If there are no parameters, than maybe there is a standard module to remove this XML indentation?
    Where I can found source code for XI30OutboundHandler to check how it is extracting payload from XI message?
    Thanks in advance for your answers!
    Best Regards,
    Artsiom Anichenka

    Hi, have you find a solution for this problem?
    I've tried set the parameter “disablePrettyXML”, as mentioned in SAP note 1039369 (search for “disabling pretty XML”), but apparently it didn’t work too. Have you tried that?
    I still get linefeeds and carriage return in the post requisition to the WebService.
    Regards,
    Ronaldo Schork.

  • Apache axis deserialization problem

    Can anybody help?
    We are using Apache's Axis web service framework for consuming web services. One of the web services has "nested" or complex types in the response, and the Axis framework is not processing it properly.
    Is there something that we need to configure to get this to work? Any suggestions are much appreciated.
    It gives the following message:
    org.xml.sax.SAXException: Invalid element in com.chase.egw._GWProfile - Product
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
    at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:323)
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
    at org.apache.axis.client.Call.invoke(Call.java:2272)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at com.chase.egw.GWProfilePortTypeSoapBindingStub.getProfile(GWProfilePortTypeSoapBindingStub.java:185)
    at com.echase.common.mf.sso.SSOGatewayServiceDelegate.getGWProfile(SSOGatewayServiceDelegate.java:178)

    I am having the same problem as you describe.
    Checkout out this link:
    http://dev-forums.ebay.com/thread.jsp?forum=1002&thread=100000782
    It talks about adding the following to the complex type defintion in the WSDL
    <xsd:any processContents = "lax"/>
    The good news is this solved the exception problem.
    The bad news is that my complex objects are not being deserialed. I've posted to the AXIS users mailing list.
    Here is what I posted:
    Hi,
    I need a little help getting started with AXIS.
    I've done some SOAP web services development a few years back using SUN JAXM, but I will be using AXIS for a webservice project in the near term.
    In order to get familiar with AXIS I did the GOOGLE thing and aquired a sample WDSL to try out.
    I am using 1.2RC3 version of AXIS with Tomcat 5.0.28.
    Here is the WSDL I first used:
    <wsdl:definitions
    name="PhotoCatalogService"
    targetNamespace="http://examples.com/PhotoCatalog"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:types="http://examples.com/PhotoCatalog/types"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="http://examples.com/PhotoCatalog">
    <wsdl:types>
    <xsd:schema targetNamespace="http://examples.com/PhotoCatalog/types"
    xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
    xmlns:types="http://examples.com/PhotoCatalog/types">
    <xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="WS-ISwA.xsd"/>
    <!-- Status contains the references the old photo available as attachment. -->
    <xsd:element name="Status" type="wsi:swaRef" />
    <!-- passed in as parameter of replacePhoto operation, contains the order. -->
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="addPhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="photo" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="addPhotoResponse">
    <wsdl:part name="status" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="newPhoto" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoResponse">
    <wsdl:part name="status" element="types:Status"/>
    </wsdl:message>
    <wsdl:portType name="PhotoCatalog">
    <wsdl:operation name="addPhoto">
    <wsdl:input message="tns:addPhotoRequest"/>
    <wsdl:output message="tns:addPhotoResponse"/>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input message="tns:replacePhotoRequest"/>
    <wsdl:output message="tns:replacePhotoResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="PhotoCatalogBinding" type="tns:PhotoCatalog">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="addPhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="photo" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="status" type="text/plain"/>
    <mime:content part="status" type="text/xml"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="newPhoto" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="status" use="literal"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="PhotoCatalogService">
    <wsdl:port name="PhotoCatalogPort" binding="tns:PhotoCatalogBinding">
    <soap:address location="http://localhost:8080/jaxrpc-AttachmentsSample/photocatalog"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I used the previous WSDL to generate a service and then a client I got the following error on the client side when trying the "addPhoto" service:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:tislaptop
    org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:745)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:141)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
    at org.apache.axis.client.Call.invoke(Call.java:2737)
    at org.apache.axis.client.Call.invoke(Call.java:2413)
    at org.apache.axis.client.Call.invoke(Call.java:2336)
    at org.apache.axis.client.Call.invoke(Call.java:1793)
    at com.examples.PhotoCatalog.PhotoCatalogBindingStub.addPhoto(PhotoCatalogBindingStub.java:190)
    at com.examples.PhotoCatalog.PhotoCatalogProxy.addPhoto(PhotoCatalogProxy.java:45)
    at com.examples.PhotoCatalog.TestPhotoService.main(TestPhotoService.java:41)
    Here is an abridged network trace of the SOAP request sent from client to server...
    POST /axis/services/PhotoCatalogPort HTTP/ 1.0
    Content-Type: multipart/related;type="text/xml";start="<DBB2B5537065926A4CBC8F8ED8D88F15>";boundary="----=_Part_0_20983130.1113483759295"
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent:Axis/1.2RC3
    Host: xxx.xxx.xxx.xxx:8080
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Content-Length: 8466
    ------=_Part_0_209831301113483759295
    Content-Type: text/xml; charset=UTF-8
    Content-Transfer-Encoding: binary
    Content-Id: <DBB2B5537065926A4CBC8F8ED8D88F15>
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XML Schema-instance">
    <soapenv:Body>
    <addPhoto xmlns="">
    <ns1:PhotoInfo xmlns:ns1="http://examples.com/PhotoCatalog/types">
    <customerName>karl</customerName>
    <photoID>100</photoID>
    </ns1:PhotoInfo>
    <photo href="cid:9AD6390B491EF0EE0B0FCEA7AA945655" xsi:type="ns2:Image" xmlns:ns2="http://xml.apache.org/xml-soap"/>
    </addPhoto>
    </soapenv:Body>
    </soapenv:Envelope>
    ------=_ Part_0_20983130.1113483759295
    Content-Type:image/jpeg
    Content -Transfer-Encoding:binary
    Content-Id: <F2369DA809C4B1B0ADBA8538372E6F23>
    ...QE..QE.......
    ------=_Part_0_20983130.1113483759295
    After a little searching I found some info that led me to change the WSDL a little. I redefined the "PhotoInfo" type as follows
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    <xsd:any processContents = "lax"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Now there is no exception thrown, but the PhotoInfo and photo objects are not deserialized. I get null values passed to the PhotoCatalogBindingImpl class.
    I noticed that an org.apache.axis.message.MessageElement[] object and associated methods was added to the PhotoInfo class, which I assume is due to adding the <xsd:any processContents = "lax"/> line to the WSDL.
    Here is the PhotoInfo and PhotoCatalogBindingImpl class source for reference:
    * PhotoCatalogBindingImpl.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog;
    import javax.xml.transform.Source;
    public class PhotoCatalogBindingImpl implements com.examples.PhotoCatalog.PhotoCatalog{
    public javax.xml.transform.Source
    addPhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image photo) throws java.rmi.RemoteException {
    return null;
    public org.apache.axis.types.URI replacePhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image newPhoto) throws java.rmi.RemoteException {
    return null;
    * PhotoInfo.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog.types;
    public class PhotoInfo implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {
    private java.lang.String customerName;
    private int photoID;
    private org.apache.axis.message.MessageElement [] _any;
    public PhotoInfo() {
    public PhotoInfo(
    org.apache.axis.message.MessageElement [] _any,
    java.lang.String customerName,
    int photoID) {
    this.customerName = customerName;
    this.photoID = photoID;
    this._any = _any;
    * Gets the customerName value for this PhotoInfo.
    * @return customerName
    public java.lang.String getCustomerName() {
    return customerName;
    * Sets the customerName value for this PhotoInfo.
    * @param customerName
    public void setCustomerName(java.lang.String customerName) {
    this.customerName = customerName;
    * Gets the photoID value for this PhotoInfo.
    * @return photoID
    public int getPhotoID() {
    return photoID;
    * Sets the photoID value for this PhotoInfo.
    * @param photoID
    public void setPhotoID(int photoID) {
    this.photoID = photoID;
    * Gets the _any value for this PhotoInfo.
    * @return _any
    public org.apache.axis.message.MessageElement [] get_any() {
    return _any;
    * Sets the _any value for this PhotoInfo.
    * @param _any
    public void set_any(org.apache.axis.message.MessageElement [] _any) {
    this._any = _any;
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
    if (!(obj instanceof PhotoInfo)) return false;
    PhotoInfo other = (PhotoInfo) obj;
    if (obj == null) return false;
    if (this == obj) return true;
    if (__equalsCalc != null) {
    return (__equalsCalc == obj);
    __equalsCalc = obj;
    boolean _equals;
    _equals = true &&
    ((this.customerName==null && other.getCustomerName()==null) ||
    (this.customerName!=null &&
    this.customerName.equals(other.getCustomerName()))) &&
    this.photoID == other.getPhotoID() &&
    ((this._any==null && other.get_any()==null) ||
    (this._any!=null &&
    java.util.Arrays.equals(this._any, other.get_any())));
    __equalsCalc = null;
    return _equals;
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
    if (__hashCodeCalc) {
    return 0;
    __hashCodeCalc = true;
    int _hashCode = 1;
    if (getCustomerName() != null) {
    _hashCode += getCustomerName().hashCode();
    _hashCode += getPhotoID();
    if (get_any() != null) {
    for (int i=0;
    i<java.lang.reflect.Array.getLength(get_any());
    i++) {
    java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
    if (obj != null &&
    !obj.getClass().isArray()) {
    _hashCode += obj.hashCode();
    __hashCodeCalc = false;
    return _hashCode;
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(PhotoInfo.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://examples.com/PhotoCatalog/types", ">PhotoInfo"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
    typeDesc.addFieldDesc(elemField);
    elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("photoID");
    elemField.setXmlName(new javax.xml.namespace.QName("", "photoID"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
    typeDesc.addFieldDesc(elemField);
    * Return type metadata object
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
    return typeDesc;
    * Get Custom Serializer
    public static org.apache.axis.encoding.Serializer getSerializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanSerializer(
    javaType, xmlType, typeDesc);
    * Get Custom Deserializer
    public static org.apache.axis.encoding.Deserializer getDeserializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanDeserializer(
    javaType, xmlType, typeDesc);
    I guess my questions are as follows:
    1. Why is exception thrown in the first scenario? Is there something wrong with the WSDL? I guess there is, but I can't figure it out.
    2. When the change is made to the WDSL(adding <xsd:any processContents = "lax"/>) is there something that I need to add to the PhotoInfo class
    to process the org.apache.axis.message.MessageElement[] object. Do I need to "manually" parse that object in the PhotoCatalogBindingImpl class to get
    the values of customerName and photoID?
    Any other help would be appreciated..
    thanks,
    Karl Schwarz
    System Architect
    Northrop Grumman

  • Charts data axis scaling problem

    Post Author: rameshp
    CA Forum: Charts and Graphs
    Hi ,
    I work on crystal reports XI.
    I'm facing problem regarding scaling data axis. I have illustrated that in the following lines:
    case1) if i have high values (sum of bytes) like more than 600 etc. its scaling data axis from 0 to say 1000.
    case 2) if i have low values like 0,1 (bytes)   then its scaling from -4 to say 6 .
    I don't want negative values on data axis .  I want from 0 to max. So what's the better way to do this using chart expert.
    Your suggestion is highly appreciated !
    Thanks,
    Ramesh.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satwar,
    There is no "trick", we're just victims of the limitation that WebI has in portraying XYZ type charts to our better liking.  I submitted a request to Business Objects Tech Support in Oct 2006 and became the proud holder of two ADAPTs:
    ADAPT00676587 u2013 for the scaling issueADAPT00676609 u2013 for the stacked bar chart, line graph issue
    When fully implemented, the scaling for Y and Z should be able to correspond to each other.  For instance, max value of Y and max value of Z will set on both scales the same max value.  I don't discourage you from submitting a trouble-ticket, perhaps if they get more noise on this situation they'll resolve my (our) ADPAT sooner, but just hoping....

  • Axis Installation Problem

    Hi,I followed the steps shown in the installation guide,and when i test it,i can see the start page,but when it jumps to http://localhost:8080/axis/index.jsp or http://localhost:8080/axis/happyaxis.jsp,the following exception was thrown:
    java.util.MissingResourceException: Can't find bundle for base name i18n, locale zh_CN
         java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
         java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
         java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
         org.apache.jsp.axis.happyaxis_jsp.getRB(happyaxis_jsp.java:325)
         org.apache.jsp.axis.happyaxis_jsp.getMessage(happyaxis_jsp.java:421)
         org.apache.jsp.axis.happyaxis_jsp.getMessage(happyaxis_jsp.java:359)
         org.apache.jsp.axis.happyaxis_jsp._jspService(happyaxis_jsp.java:558)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)I checked the code of index.jsp under the axis directory,it has one code segment like this:
    <%@ include file="i18nLib.jsp" %>
    <%
        // initialize a private HttpServletRequest
        setRequest(request);
        // set a resouce base
        setResouceBase("i18n");
    %>As you see,it sets the resource base to "i18n", and it is the root cause of the exception.so what does i18n stands for?and how could i solve the problem?
    regards!

    i18n stands for "Internationalization"
    Do you have "i18nLib.jsp" in the same folder as index.jsp ?
    Maybe you might get better help in the Axis user forum.

  • Axis + Hibernate Problem

    Hello,
    I have developed a small app for a spike using spring + hibernate. Then I generated a web service using IBM RAD Web Services tools. My main problem is when i acces the web service even though my hibernate relations are configured to load lazily -and runs as expected during tests- hibernate starts to load the whole object graph. I believe while axis servlet is serializing the objects it calls the get method on the parent class and it continues like this. So can anyone suggest me a way to prevent this?
    Thanks in advance

    Of course the exception looks like:
    Exception in thread "main" java.lang.NoClassDefFoundError: /org/apache/axis/
    client/AdminClientSorry for the confusion...

  • Stepper Axis Encoder Problems

    I have a NI 7344 board controlling a servo motor and stepper motor each with their own seperate drives. I am having issues with the stepper encoder output while running in closed-loop mode. When running the stepper in velocity mode the measured velocity according to the motion card is about 15% of what the actual velocity of the stepper.
    The encoder position counts however, do update at the correct rate. If I connect the same encoder output to another axis and set that as a servo axis the encoder velocity is measured correctly (I've done it simulataneously and the servo axis displays the correct velocity while the stepper axis does not). I have verified that the stepper and encoder counts per revolution are correct and every relevant encoder setting is correct.
    Anybody have any ideas?
    Thanks

    The velocity reporting for steppers in NI-Motion 6.1.2 can be slightly incorrect at low step speeds with 733x and 734x boards because of a fixed point calculation error - this is ONLY a reporting error and the steppers WILL move at the correct speed. This has been fixed with NI-Motion 7.0.
    The Primary and Secondary feedback channels can no longer be set in MAX starting with NI-Motion 7.0, however, they can be set through the Motion API in LabVIEW, CVI, etc. This change was made to reduce the complexity of the interface in MAX.
    Hopefully this explains better the behavior of what you were seeing.

  • Vertical axis scaling problem with XYZ bar/line chart

    Post Author: satwar
    CA Forum: WebIntelligence Reporting
    Is there a trick to making the scaling on the
    Z-axis equal to the Y-axis. I don't want to specify the scaling on
    either axis because I am generating report with filtered "dimensons" in
    order to generate all measure charts for a given set of filters. The
    measures have various value ranges so by not specifying chart scales,
    the Y-axis is auto ranged, which is good, but so is the Z-axis, which
    is bad. I want both Y & Z axis to range together so I get a good
    visual comparison of the two measures being plotted.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satwar,
    There is no "trick", we're just victims of the limitation that WebI has in portraying XYZ type charts to our better liking.  I submitted a request to Business Objects Tech Support in Oct 2006 and became the proud holder of two ADAPTs:
    ADAPT00676587 u2013 for the scaling issueADAPT00676609 u2013 for the stacked bar chart, line graph issue
    When fully implemented, the scaling for Y and Z should be able to correspond to each other.  For instance, max value of Y and max value of Z will set on both scales the same max value.  I don't discourage you from submitting a trouble-ticket, perhaps if they get more noise on this situation they'll resolve my (our) ADPAT sooner, but just hoping....

  • Numbers Gridline Problem

    How do I get NUMBERS to replace missing gridlines in part of a spreadsheet? Copying to a new blank sheet or to an Excel sheet
    doesn't work.

    Hi Peggy,
    There are a couple of places you can go to manage gridlines.
    Here with the table or row or column or cell selected you can change  things including choosing "default" under the line popup.
    Here you can select/deselect gridlines or even choose a style for the whole table.
    quinn

  • Axis Deploy Problem

    Hi everybody!
    I am new to webservices and therefore I am trying to deploy an example webservice using Axis' Admin Client.
    Here is the statement I am trying to execute:
    java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -l http://localhost/
    axis/services/AdminService SimpleDVDStoreDeploy.wsddAXISCLASSPATH looks this way:
    c:\axis\lib\axis.jar;c:\axis\lib\commons-discovery.jarUnfortunately I am always getting the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: axis/org/apache/axis/
    client/AdminClientCan anyone help me?
    I am really stuck! :(
    Thanks in Advance!
    Stef

    Of course the exception looks like:
    Exception in thread "main" java.lang.NoClassDefFoundError: /org/apache/axis/
    client/AdminClientSorry for the confusion...

  • 3D Graph X Axis positioning of bar

    Hi,  I have a 3D Graph X Axis location problem where the bar that is plotted gets stuck between two adjacent gridlines with the same label.  I simply think the graph should be sticking the bar on the line that it is plotting it for.  I.E> if the x value is 1, I want the graph to display it as being on the "1" grdiline for the x axis.  Please help...
    Solved!
    Go to Solution.
    Attachments:
    X Axis Grid Problem.vi ‏8 KB
    X Axis Grid Problem.vi ‏8 KB

    Thanks, I think I see the issue here now.  there are 2 of them.  One is that I have the x axis formatted only to show the whole number and not any decimal values thereafter.  Once set to show these, it is evident that the x axis values are not 2 and 2 respectively but 2.4 and 2.6.
    I also see the tick marks appear to have to be set differeent every time depending on the data that comes into the graph in order to get a good display grid.  It appears that you operate in one of two different grid display modes - manual where you set the max, min and tick counts or auto where  WYSIWYG.   
    Seems like the way to go is to autoscale, then read the max and min values and create a VI to calculate the major and minor tick marks based on the full axis range.  Does this sound like the way to you? 

  • BubbleChart autoscale is not working right on the Y axis

    Hi everyone,
    When I'm trying to display some information on a Flex BubbleChart the bubbles are always displayed very low on the Y axis for some reason.
    The auto scale on the Y axis doesn't seem to work properly. It is providing extreamly high values on the Y axis. Do any of you encountered this problem before?
    How do you fix this Y axis autoscale problem without hardcoding the maximum value in the mx:verticalAxis?
    Thank you in advance,
    David

    Just make sure the data in the data provider is correct.

  • Axis and Web Services

    Hello .. i am new to axis .The problem is that i have created a client message using SAAJ APIs . The request created is of the form
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmln
    s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSc
    hema-instance"><soapenv:Body><detail xmlns=""><symbol symbol1="rohitjha" symbol2
    ="janarthanan" xmlns=""/><symbol xmlns=""/></detail></soapenv:Body></soapenv:Env
    elope> these attributes have been added by command line while running the following code : :
    public class Client {
    public static void main(String [] args)throws Exception
    try{
    //First create the connection
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    //Next, create the actual message
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();
    //Create objects for the message parts
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPBody body = envelope.getBody();
    SOAPElement bodyElement =body.addChildElement(envelope.createName("detail"));
    SOAPFactory soapFactory =SOAPFactory.newInstance();
    Name name = soapFactory.createName("symbol");
    SOAPElement symbol1 = bodyElement.addChildElement(name);
    symbol1.addAttribute(soapFactory.createName("symbol1"),args[0]);
              //symbol1.addTextNode(args[0]);
              Name name1 = soapFactory.createName("symbol");
              SOAPElement symbol2 = bodyElement.addChildElement(name1);
              symbol1.addAttribute(soapFactory.createName("symbol2"),args[1]);
              //symbol2.addTextNode(args[1]);
    message.saveChanges();
              System.out.println("\nREQUEST:\n");
    message.writeTo(System.out);
         System.out.println();
    String endpoint = "http://localhost:8080/axis/services/GetIP";
         //Send the message
         System.out.println("RESPONSE\n");
    SOAPMessage reply = connection.call(message, endpoint);
    reply.writeTo(System.out);
         }catch(Exception e){
              System.out.println("The exception is : "+e);
    I have used wsdl3java tool and java2 wsdl tool to create the varios bindings . My service name is detail .
    this program works fine if i pass only one parameter from server to client .But on passing more than one parameter its responds that it cannot find the operation .
    the response is :
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://sc
    hemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" x
    mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Faul
    t><faultcode>Server.userException</faultcode><faultstring>No such operation 'det
    ail'</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
    rohitjha</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelop
    e>Please suggest how to pass more than one parameter from the client to the service ..

    Hi I have got a few queries...thanks for all ur replies...
    I am having a concrete wsdl...i ahve used wsdl2java skeleton to create java files....i have got wsdd file as well....
    1) how can i deploy the application in a webserver ?
    2) should i create any specific java files to be exposed...apart from java files created by the wsdl2java utility
    3) can i use the same wsdl to create my client files...
    4) since i dont have any logic in my webservice...how can i access the fiels using my client?
    Thanks
    Vivek

Maybe you are looking for

  • How can i burn an ISO movie and have it watchable?

    Hello! I have a client who has a movie file as an .ISO for some reason. How can i turn that into a watchable format and put it on DVD? Thanks!

  • How to change standard field name?

    Hello Experts,               I have copied the whole VA11 program to ZVA11 program here i want to change the name of the standard field name can i know how to change. Please can anyone share the procedure. Thnks

  • Deleted Songs stay in the Cloud?

    hi, so today i tried to "rematch" around 800 songs that were previously uploaded and not matched to the cloud even though i'm fairly certain most of them should have been matched. therefore i deleted those songs from my library as well as from the iC

  • ADF BC on GlassFish, MySQL: ResultSet.IsClosed()

    So, I've spent couple of hours but still haven't managed to run a simple ADF Essentials application on GlassFish app server with MySQL database. I've installed ADF Essentials om GlassFish, added MySQL connector to JDev, established connections betwee

  • Help For Use of a 2630 by a "Challenged" older use...

    Hi all.I just bought the above for my 78 year old dad and he's having problems using it.I got the saleman to configure it for the absolute basics(ie.the press of one button to get to his phone book) and he's still having trouble. I was thinking it mi