Addendum to my recent mail (wsdl2xxx chokes on simple example from w3.org).
Attachments trigger / show erroneous Axis behaviour.

Greetings

Franz

-----Ursprüngliche Nachricht-----
Von: Franz Fehringer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 8. November 2005 15:47
An: Apache AXIS C Developers List
Betreff: wsdl2ws strange warnings and results


Hello,

I get strange warnings and class definitions in using wsdl2ws.
My Axis (C/C++) version is 1.5.
I execute java -cp "%AXISCCLASSPATH%;%CLASSPATH%"
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -ocpp -lc++ -mgnu -sclient
PegsTour.wsdl
(files are attached).
The warnings are
ignoring anonymous type >ErrorResponse

ignoring anonymous type >_LoginRequest_Expiry

ignoring anonymous type >_LoginResponse_Expiry

ignoring anonymous type >LoginResponse

ignoring anonymous type >LoginRequest

ignoring anonymous type >t_Warning_Description

ignoring anonymous type >_LoginResponse_SessionToken

Note the spurious greaterthan sign in front.
This gt sign also spoils the generated sources, for example

class >t_Warning_Description;

What is wrong?

Thanks in advance

Franz

Dr. Franz Fehringer (Dipl. Math.)
____________________________________
ISO Software Systeme
Eichendorffstrasse 29
90491 Nuremberg
Germany

Tel. : +49/(911) - 99594-0
Fax  : +49/(911) - 99594-580

mailto:[EMAIL PROTECTED]
http://www.isogmbh.de

Attachment: PegsTour.wsdl
Description: application/xml

Attachment: durchstich.xsd
Description: application/xml

/*
 * Copyright 2003-2004 The Apache Software Foundation.

 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *              http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
 * This file contains functions to manipulate complex type t_Warning
 */

#if !defined(__T_WARNING_PARAM_H__INCLUDED_)
#define __T_WARNING_PARAM_H__INCLUDED_

#include <axis/AxisUserAPI.hpp>
AXIS_CPP_NAMESPACE_USE 

#include ">t_Warning_Description.hpp"
/*Local name and the URI for the type*/
static const char* Axis_URI_t_Warning = 
"http://www.pegs-pegstour.com/API/XMLSchema/1.0.1";;
static const char* Axis_TypeName_t_Warning = "t_Warning";

class >t_Warning_Description;
class STORAGE_CLASS_INFO t_Warning
{
public:
        xsd__long ID;
        xsd__string Code;
        >t_Warning_Description* Description;
        xsd__string Source;
        t_Warning();
        ~t_Warning();
};

#endif /* !defined(__T_WARNING_PARAM_H__INCLUDED_)*/

Reply via email to