java.util.NoSuchElementException from WSDL2Ws

2006-03-02 Thread Parvez shah


Hi,
I am using axis-c-1.6a.n-Win32 on win 2000
I am getting following error while running
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws SystemStatus.wsdl -lc++ -sclient

java.util.NoSuchElementException
  at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
  at java.util.HashMap$ValueIterator.next(Unknown Source)
  at 
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addDocumentStyleInputMessageToMethodInfo(Unknown 
Source)
  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown 
Source)
  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown 
Source)
  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown 
Source)


  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

Code generation failed. Please see errors above

The same wsdl i tried using with wsdl2java and gSOAP, and i dont get any 
error
can any one point me on what's the error or what should i look for coz 
error stack trace is not telling me any thing


Parvez


http://xml.apache.org/xml-soap"; xmlns:impl="urn:services.ws.core.collabnet.com" xmlns:intf="urn:services.ws.core.collabnet.com" xmlns:tns1="urn:exception.ws.core.collabnet.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

 
  http://www.w3.org/2001/XMLSchema";>
   
   

 
 
 
 

   
   
   
   
   
   

 
 

   
   
  
  http://www.w3.org/2001/XMLSchema";>
   
   

 
 
 

   
  
 

   

  

   

   

   

   

  

   

   

  

   

   

   

   

  

   

   

  

   

   

  

 

 

 

  

  

 

 

  

  

 

 

 

  

   

   

  http://schemas.xmlsoap.org/soap/http"/>

  

 

 



 

 



 

 



 

  

  

 

 



 

 



 

  

  

 

 



 

 



 

 



 

  

   

   

  

 http://www.soltest3.maa.collab.net/axis/services/ws-sec-min/ws/SystemStatus"/>

  

   




Re: AxisC++ build problem

2006-03-02 Thread John Hawkins

Thanks for that !
I've created a JIRA for it so we don't
lose it.

regards,
John.








Tao Yang <[EMAIL PROTECTED]>

01/03/2006 23:20



Please respond to
"Apache AXIS C User List" 





To
axis-c-user@ws.apache.org


cc



Subject
AxisC++ build problem








Hi,

I am now switching to build the latest svn checkout from the 1.5 release

on windows. However, another error jumps out:

buildVersionResource:
  [delete] Deleting 2 files from C:\opt\work\simdesk\axisc++\build
    [copy] Copying 1 file to C:\opt\work\simdesk\axisc++\build
      [cc] 5 total files to be compiled.
      [cc] URL.cpp
      [cc] PlatformSpecificWindows.cpp
      [cc] HTTPTransportException.cpp
      [cc] HTTPChannelInstantiator.cpp
      [cc] 
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31)

: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or 
directory
      [cc] HTTPChannel.cpp
      [cc] 
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31)

: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or 
directory
      [cc] Generating Code...

I think the tpipv6 is only needed for VC6. All the ipv6 stuff is in 
later winsock2.h. I am using VC7...
So I made a small change to accommodate this, pleae see the attached 
patch.txt for detail.

cheers,
Tao
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
===
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
               
(revision 381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
               
(working copy)
@@ -28,8 +28,10 @@
 
 #ifdef IPV6
 #include 
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
 #include   // For IPv6 Tech Preview.
 #endif
+#endif
 
 // What version of WinSock is required
 const int    WS_VERSION_REQD    = 0x0101;
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
===
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
               
(revision 381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
               
(working copy)
@@ -30,8 +30,10 @@
 
 #ifdef IPV6
 #include 
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
 #include   // For IPv6 Tech Preview.
 #endif
+#endif
 
 // What version of WinSock is required
 const int    WS_VERSION_REQD    = 0x0101;